On 19 Feb 2008, at 20:24, Stan wrote:

> But we still need a way to dismiss menus and whatnot..
> Is there another way to do so?  I wonder how other systems
> handle it.

Well, where we are now is that "grab" does not work as advertised on  
OSX, or on my FC7/gnome test box (the two systems I have here right  
now) in so far as neither really grabs the mouse pointer... However,  
the dismissing of menus and so forth continues to work just fine. So  
maybe we don't need grab to work? (Or at least don't need it to work  
any more than it presently does.) It is a pretty invasive thing to  
do, so I'd really rather not, if we don't have to.

Specific observations using Stan's test program:

OSX 10.4.11, svn r6027 - the second window gets the push/release for  
any click inside either of the two windows, including any click on  
the window decorations. The windows can be moved by dragging their  
titlebars, however. Clicks outside the window's areas are not  
affected, so are not grabbed. Keyboard input is not grabbed, so I can  
type this normally in this window.

FC7 with Xorg 1.3.0 (I think), svn r6027 - the behaviour is the same  
whether I select a single or double window in the test program. In  
either case the second window gets the push/release for any click  
inside either of the two windows, including any click on the window  
decorations. Clicks outside the window's areas are not sent to  
"second window" and seem to be actioned normally by the system (so I  
assume are not grabbed) e.g. I can browse the file tree with  
Nautilus, etc. However, none of the open windows can be moved or  
dragged (so maybe they are grabbed, but only slightly...). All  
keyboard input does seem to be grabbed, as I can't type anything.

I don't have a win32 box available right now.

> PS. I just returned from a long weekend. Sorry to be so late
> weighing in on this, having apparently started the whole thing.

Light the fuse, then ran of home for your tea (I think that's the  
line, anyway.)

Cheers to all,
-- 
Ian


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to