nanogui: nanox+flnx problem


Previous by date: 15 Jul 2002 20:22:04 -0000 Remote terminal, Sharad Gupta
Next by date: 15 Jul 2002 20:22:04 -0000 Re: Starting Nano-X on /dev/fb1 problem, Dan Fandrich
Previous in thread: 15 Jul 2002 20:22:04 -0000 Re: nanox+flnx problem, Jordan Crouse
Next in thread: 15 Jul 2002 20:22:04 -0000 Re: nanox+flnx problem, Jordan Crouse

Subject: Re: [nanogui] nanox+flnx problem
From: Florian Berger ####@####.####
Date: 15 Jul 2002 20:22:04 -0000
Message-Id: <20020715220830.7268f411.harpin_floh@yahoo.de>

On 15 Jul 2002 12:26:52 -0600
Jordan Crouse ####@####.#### wrote:
> Known problem - the FLNX menubars are actually toplevel windows - so
> they won't move with the other window.  X11 has the same problem, but
> they solve it by restricting pointer / keyboard to the menu window
> (try it - bring up a menu and try to move the main window).  Since
> nano-X really has no concept of grabbing the keyboard or pointer then
> the window manager is allowing the window to be moved because the
> mouse event on the other window is not ignored like FLTK/FLNX thinks
> it should be.
> 
> There are two ways to fix this:
> 
> 1 - Set a special window property that alerts the window manager when
> a"modal" window is created, and have it ignore all events outside of
> that window.
> 
> 2 - Implement XGrabPointer() and XGrabKeyboard() style commands for
> Nano-X.
> 
> The first one is easier, but the second one is more elegant (and a
> better long term solution).
> 
> Jordan
> 
> 


thanks for the reply!

actually, i would have no problem if a popup menu stays in place, when i
move the mainwindow, but actually the popup menus even pop up in the
wrong position, when the window was previously moved. 
is this the same problem? cant the mainwindow give correct coordinates
to the popup menu, when it pops it up?

regards,
   floh


Previous by date: 15 Jul 2002 20:22:04 -0000 Remote terminal, Sharad Gupta
Next by date: 15 Jul 2002 20:22:04 -0000 Re: Starting Nano-X on /dev/fb1 problem, Dan Fandrich
Previous in thread: 15 Jul 2002 20:22:04 -0000 Re: nanox+flnx problem, Jordan Crouse
Next in thread: 15 Jul 2002 20:22:04 -0000 Re: nanox+flnx problem, Jordan Crouse


Powered by ezmlm-browse 0.20.