diff --git a/ChangeLog b/ChangeLog index 44c6cfe1c2..229c986bed 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Thu Dec 12 18:02:34 2002 Owen Taylor + + * gtk/gtkmain.c (gtk_main_do_event): Intercept events + of type GDK_SETTING before we check to see if there + was an event widget or not. (#97451, Simon Wong, + Bastien Nocera) + Thu Dec 12 17:58:41 2002 Owen Taylor * gtk/gtkrc.key.emacs: Add C-u/C-h/C-w. (#72245) diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 44c6cfe1c2..229c986bed 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,10 @@ +Thu Dec 12 18:02:34 2002 Owen Taylor + + * gtk/gtkmain.c (gtk_main_do_event): Intercept events + of type GDK_SETTING before we check to see if there + was an event widget or not. (#97451, Simon Wong, + Bastien Nocera) + Thu Dec 12 17:58:41 2002 Owen Taylor * gtk/gtkrc.key.emacs: Add C-u/C-h/C-w. (#72245) diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 44c6cfe1c2..229c986bed 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,10 @@ +Thu Dec 12 18:02:34 2002 Owen Taylor + + * gtk/gtkmain.c (gtk_main_do_event): Intercept events + of type GDK_SETTING before we check to see if there + was an event widget or not. (#97451, Simon Wong, + Bastien Nocera) + Thu Dec 12 17:58:41 2002 Owen Taylor * gtk/gtkrc.key.emacs: Add C-u/C-h/C-w. (#72245) diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 44c6cfe1c2..229c986bed 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,10 @@ +Thu Dec 12 18:02:34 2002 Owen Taylor + + * gtk/gtkmain.c (gtk_main_do_event): Intercept events + of type GDK_SETTING before we check to see if there + was an event widget or not. (#97451, Simon Wong, + Bastien Nocera) + Thu Dec 12 17:58:41 2002 Owen Taylor * gtk/gtkrc.key.emacs: Add C-u/C-h/C-w. (#72245) diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 44c6cfe1c2..229c986bed 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,10 @@ +Thu Dec 12 18:02:34 2002 Owen Taylor + + * gtk/gtkmain.c (gtk_main_do_event): Intercept events + of type GDK_SETTING before we check to see if there + was an event widget or not. (#97451, Simon Wong, + Bastien Nocera) + Thu Dec 12 17:58:41 2002 Owen Taylor * gtk/gtkrc.key.emacs: Add C-u/C-h/C-w. (#72245) diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 44c6cfe1c2..229c986bed 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,10 @@ +Thu Dec 12 18:02:34 2002 Owen Taylor + + * gtk/gtkmain.c (gtk_main_do_event): Intercept events + of type GDK_SETTING before we check to see if there + was an event widget or not. (#97451, Simon Wong, + Bastien Nocera) + Thu Dec 12 17:58:41 2002 Owen Taylor * gtk/gtkrc.key.emacs: Add C-u/C-h/C-w. (#72245) diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c index 20e0e6e181..10b5f276cb 100644 --- a/gtk/gtkmain.c +++ b/gtk/gtkmain.c @@ -1351,6 +1351,12 @@ gtk_main_do_event (GdkEvent *event) if (next_event) gdk_event_free (next_event); + if (event->type == GDK_SETTING) + { + _gtk_settings_handle_event (&event->setting); + return; + } + /* Find the widget which got the event. We store the widget * in the user_data field of GdkWindow's. * Ignore the event if we don't have a widget for it, except @@ -1370,8 +1376,6 @@ gtk_main_do_event (GdkEvent *event) if (event->type == GDK_PROPERTY_NOTIFY) _gtk_selection_incr_event (event->any.window, &event->property); - else if (event->type == GDK_SETTING) - _gtk_settings_handle_event (&event->setting); return; }