forked from AuroraMiddleware/gtk
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)
This commit is contained in:
parent
7264fdb06a
commit
e4fc95abb1
@ -1,3 +1,10 @@
|
||||
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)
|
||||
|
@ -1,3 +1,10 @@
|
||||
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)
|
||||
|
@ -1,3 +1,10 @@
|
||||
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)
|
||||
|
@ -1,3 +1,10 @@
|
||||
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)
|
||||
|
@ -1,3 +1,10 @@
|
||||
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)
|
||||
|
@ -1,3 +1,10 @@
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user