Fixed X server "lock", if a modal dialog window is opened while a menu
is active (STR #1986). This is only an intermediate fix. The full fix should dismiss the menu when the mouse is clicked outside the menu area. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6869 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
517fb60eb5
commit
3cf8672173
2
CHANGES
2
CHANGES
@ -1,5 +1,7 @@
|
||||
CHANGES IN FLTK 1.3.0
|
||||
|
||||
- Fixed X server "lock", if a modal dialog window is opened
|
||||
while a menu is active (STR #1986)
|
||||
- Updated mirror sites in documentation (STR #2220)
|
||||
- Setting a default font for Xft (STR #2216)
|
||||
- Temporarily limited builds to 32-bit on OX S to stay
|
||||
|
@ -215,8 +215,7 @@ static int innards(const char* fmt, va_list ap,
|
||||
message_form->show();
|
||||
// deactivate Fl::grab(), because it is incompatible with Fl::readqueue()
|
||||
Fl_Window* g = Fl::grab();
|
||||
if (g) // do an alternative grab to avoid floating menus, if possible
|
||||
Fl::grab(message_form);
|
||||
if (g) Fl::grab(0);
|
||||
int r = 0;
|
||||
for (;;) {
|
||||
Fl_Widget *o = Fl::readqueue();
|
||||
|
Loading…
Reference in New Issue
Block a user