From d38e339ebbd65f1667a66992efc39fd7435d6b39 Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Thu, 26 Mar 1998 07:47:04 +0000 Subject: [PATCH] do not propagate unhandled key events on widgets with parent==NULL twice. Thu Mar 26 08:31:58 1998 Tim Janik * gtk/gtkmain.c (gtk_propagate_event): do not propagate unhandled key events on widgets with parent==NULL twice. --- ChangeLog | 5 +++++ ChangeLog.pre-2-0 | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-2 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gtk/gtkmain.c | 1 + 8 files changed, 36 insertions(+) diff --git a/ChangeLog b/ChangeLog index dae03f77e8..14de93ea31 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Mar 26 08:31:58 1998 Tim Janik + + * gtk/gtkmain.c (gtk_propagate_event): do not propagate unhandled key + events on widgets with parent==NULL twice. + Tue Mar 24 14:59:50 1998 Tim Janik * gtk/gtkhandlebox.h: diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index dae03f77e8..14de93ea31 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,8 @@ +Thu Mar 26 08:31:58 1998 Tim Janik + + * gtk/gtkmain.c (gtk_propagate_event): do not propagate unhandled key + events on widgets with parent==NULL twice. + Tue Mar 24 14:59:50 1998 Tim Janik * gtk/gtkhandlebox.h: diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index dae03f77e8..14de93ea31 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Thu Mar 26 08:31:58 1998 Tim Janik + + * gtk/gtkmain.c (gtk_propagate_event): do not propagate unhandled key + events on widgets with parent==NULL twice. + Tue Mar 24 14:59:50 1998 Tim Janik * gtk/gtkhandlebox.h: diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index dae03f77e8..14de93ea31 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +Thu Mar 26 08:31:58 1998 Tim Janik + + * gtk/gtkmain.c (gtk_propagate_event): do not propagate unhandled key + events on widgets with parent==NULL twice. + Tue Mar 24 14:59:50 1998 Tim Janik * gtk/gtkhandlebox.h: diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index dae03f77e8..14de93ea31 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +Thu Mar 26 08:31:58 1998 Tim Janik + + * gtk/gtkmain.c (gtk_propagate_event): do not propagate unhandled key + events on widgets with parent==NULL twice. + Tue Mar 24 14:59:50 1998 Tim Janik * gtk/gtkhandlebox.h: diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index dae03f77e8..14de93ea31 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Thu Mar 26 08:31:58 1998 Tim Janik + + * gtk/gtkmain.c (gtk_propagate_event): do not propagate unhandled key + events on widgets with parent==NULL twice. + Tue Mar 24 14:59:50 1998 Tim Janik * gtk/gtkhandlebox.h: diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index dae03f77e8..14de93ea31 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Thu Mar 26 08:31:58 1998 Tim Janik + + * gtk/gtkmain.c (gtk_propagate_event): do not propagate unhandled key + events on widgets with parent==NULL twice. + Tue Mar 24 14:59:50 1998 Tim Janik * gtk/gtkhandlebox.h: 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