diff options
author | Tim Janik <timj@gimp.org> | 1998-03-15 22:49:50 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-03-15 22:49:50 +0000 |
commit | c91f2c0cfa99d2c354b0e1cd3aaff7a7d680cf8c (patch) | |
tree | 7655d90cc33339b2f840d27cf7a6fb4f94d3c206 /gtk/gtkmain.c | |
parent | 3f4411ed52900e9f8cfa323c01e890df2f997d45 (diff) | |
download | gtk+-c91f2c0cfa99d2c354b0e1cd3aaff7a7d680cf8c.tar.gz |
removed GRAB_EXCLUSIVE again, just disable modal event delivery for
Sun Mar 15 23:44:10 1998 Tim Janik <timj@gimp.org>
* gtk/gtkwidget.h:
* gtk/gtkmenushell.c:
* gtk/gtkmenu.c:
* gtk/gtkmain.c: removed GRAB_EXCLUSIVE again, just disable modal
event delivery for insensitive children.
Diffstat (limited to 'gtk/gtkmain.c')
-rw-r--r-- | gtk/gtkmain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c index b0d021ba9e..87f2916c75 100644 --- a/gtk/gtkmain.c +++ b/gtk/gtkmain.c @@ -510,7 +510,7 @@ gtk_main_iteration_do (gboolean blocking) * then we send the event to the original event widget. * This is the key to implementing modality. */ - if (!GTK_WIDGET_EXCLUSIVE_GRAB (grab_widget) && + if (GTK_WIDGET_IS_SENSITIVE (event_widget) && gtk_widget_is_ancestor (event_widget, grab_widget)) grab_widget = event_widget; } |