diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-4 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 5 | ||||
-rw-r--r-- | gdk/win32/gdkevents-win32.c | 17 |
6 files changed, 42 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2003-06-05 Tor Lillqvist <tml@iki.fi> + + * gdk/win32/gdkevents-win32.c (gdk_event_translate): Handle global + filters. + 2003-06-05 Matthias Clasen <maclas@gmx.de> * gtk/gtktextview.c: Fix for #84668, reported by Torbjörn Andersson: diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index e78160683..f07ab3003 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2003-06-05 Tor Lillqvist <tml@iki.fi> + + * gdk/win32/gdkevents-win32.c (gdk_event_translate): Handle global + filters. + 2003-06-05 Matthias Clasen <maclas@gmx.de> * gtk/gtktextview.c: Fix for #84668, reported by Torbjörn Andersson: diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index e78160683..f07ab3003 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +2003-06-05 Tor Lillqvist <tml@iki.fi> + + * gdk/win32/gdkevents-win32.c (gdk_event_translate): Handle global + filters. + 2003-06-05 Matthias Clasen <maclas@gmx.de> * gtk/gtktextview.c: Fix for #84668, reported by Torbjörn Andersson: diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index e78160683..f07ab3003 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +2003-06-05 Tor Lillqvist <tml@iki.fi> + + * gdk/win32/gdkevents-win32.c (gdk_event_translate): Handle global + filters. + 2003-06-05 Matthias Clasen <maclas@gmx.de> * gtk/gtktextview.c: Fix for #84668, reported by Torbjörn Andersson: diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index e78160683..f07ab3003 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2003-06-05 Tor Lillqvist <tml@iki.fi> + + * gdk/win32/gdkevents-win32.c (gdk_event_translate): Handle global + filters. + 2003-06-05 Matthias Clasen <maclas@gmx.de> * gtk/gtktextview.c: Fix for #84668, reported by Torbjörn Andersson: diff --git a/gdk/win32/gdkevents-win32.c b/gdk/win32/gdkevents-win32.c index e35476086..ff70323ab 100644 --- a/gdk/win32/gdkevents-win32.c +++ b/gdk/win32/gdkevents-win32.c @@ -1901,6 +1901,23 @@ gdk_event_translate (GdkDisplay *display, if (ret_val_flagp) *ret_val_flagp = FALSE; + /* init these, since the done: block uses them */ + ASSIGN_WINDOW (NULL); + event->any.window = NULL; + + if (_gdk_default_filters) + { + /* Apply global filters */ + GdkFilterReturn result; + result = gdk_event_apply_filters (msg, event, _gdk_default_filters); + + if (result != GDK_FILTER_CONTINUE) + { + return_val = (result == GDK_FILTER_TRANSLATE) ? TRUE : FALSE; + goto done; + } + } + ASSIGN_WINDOW (gdk_win32_handle_table_lookup ((GdkNativeWindow) msg->hwnd)); orig_window = window; |