Commit e4fc95ab authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor
Browse files

Intercept events of type GDK_SETTING before we check to see if there was

Thu Dec 12 18:02:34 2002  Owen Taylor  <otaylor@redhat.com>

        * 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)
parent 7264fdb0
Thu Dec 12 18:02:34 2002 Owen Taylor <otaylor@redhat.com>
* 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 <otaylor@redhat.com>
* gtk/gtkrc.key.emacs: Add C-u/C-h/C-w. (#72245)
......
Thu Dec 12 18:02:34 2002 Owen Taylor <otaylor@redhat.com>
* 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 <otaylor@redhat.com>
* gtk/gtkrc.key.emacs: Add C-u/C-h/C-w. (#72245)
......
Thu Dec 12 18:02:34 2002 Owen Taylor <otaylor@redhat.com>
* 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 <otaylor@redhat.com>
* gtk/gtkrc.key.emacs: Add C-u/C-h/C-w. (#72245)
......
Thu Dec 12 18:02:34 2002 Owen Taylor <otaylor@redhat.com>
* 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 <otaylor@redhat.com>
* gtk/gtkrc.key.emacs: Add C-u/C-h/C-w. (#72245)
......
Thu Dec 12 18:02:34 2002 Owen Taylor <otaylor@redhat.com>
* 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 <otaylor@redhat.com>
* gtk/gtkrc.key.emacs: Add C-u/C-h/C-w. (#72245)
......
Thu Dec 12 18:02:34 2002 Owen Taylor <otaylor@redhat.com>
* 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 <otaylor@redhat.com>
* gtk/gtkrc.key.emacs: Add C-u/C-h/C-w. (#72245)
......
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment