In article <[EMAIL PROTECTED]>,
 Albrecht Schlosser <[EMAIL PROTECTED]> 
 wrote:

> BTW: in STR 1869 <http://www.fltk.org/str.php?L1869> I described
> a problem that turned out to be an interaction of Fl::grab() and
> Fl::readqueue(). The proposed patch has the (IMHO minor) side
> effect, that you can drag the window away from an open menu, when
> the fl_ask() or fl_alert() window is open. Just like someone else
> mentioned earlier (WRT OS X) in this thread.

This behavior is broken nonetheless, don't you think?

Under X11 the grab equivalent is called "override redirect", and is 
indeed a mayor source of problems.

The proper way of fixing menus&company is really simple in reality: use 
the proper WM support of "popup" window classes. I have some idea of how 
we could do this on X11, and maybe on Carbon, but I have no experience 
in this area for Windows.

BUT,

1- I'm not sure how this would play with the actual even model (ie: does 
it would break the API in some way?)
2- I'm not sure we can do that for 1.1.8 without breaking the ABI.

While I'm not advocating the use of grab, I still would like grab and 
warp pointers to be available if possible (mainly for GL programs).

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

Reply via email to