summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES2
-rw-r--r--src/fl_ask.cxx3
2 files changed, 3 insertions, 2 deletions
diff --git a/CHANGES b/CHANGES
index 750786f25..f2ed873f6 100644
--- a/CHANGES
+++ b/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
diff --git a/src/fl_ask.cxx b/src/fl_ask.cxx
index 01c95ea43..4397d3859 100644
--- a/src/fl_ask.cxx
+++ b/src/fl_ask.cxx
@@ -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();