diff options
author | Tim Janik <timj@gtk.org> | 1998-03-26 07:47:04 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-03-26 07:47:04 +0000 |
commit | d38e339ebbd65f1667a66992efc39fd7435d6b39 (patch) | |
tree | b59f7b74aa77b1243345680717da2e94da735260 /gtk | |
parent | b47085512c7a6d7ba4429819b248e3a045999ad9 (diff) | |
download | gtk+-d38e339ebbd65f1667a66992efc39fd7435d6b39.tar.gz |
do not propagate unhandled key events on widgets with parent==NULL twice.
Thu Mar 26 08:31:58 1998 Tim Janik <timj@gtk.org>
* gtk/gtkmain.c (gtk_propagate_event): do not propagate unhandled key
events on widgets with parent==NULL twice.
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkmain.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c index a2791ce9b8..b8d9f566be 100644 --- a/gtk/gtkmain.c +++ b/gtk/gtkmain.c @@ -1539,6 +1539,7 @@ gtk_propagate_event (GtkWidget *widget, handled_event = (parent && GTK_WIDGET_IS_SENSITIVE (parent) && gtk_widget_event (parent, event)); + handled_event |= parent == widget; } /* Other events get propagated up the widget tree |