]> Pileus Git - ~andy/gtk/commit
Fix event filter handling. If an event filter (global, client message
authorTor Lillqvist <tml@novell.com>
Wed, 30 Mar 2005 08:25:45 +0000 (08:25 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Wed, 30 Mar 2005 08:25:45 +0000 (08:25 +0000)
commit681afb7b6a36b86f03bb20e63ad4d45f99aba07c
treebad87853e5e156a02e73c931754dcc4bdb01404a
parent3618011a5acbfd6b19011a77858e40109fefc0ae
Fix event filter handling. If an event filter (global, client message

2005-03-30  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkevents-win32.c (gdk_event_translate): Fix event
filter handling. If an event filter (global, client message
filter, of window-specific) returns GDK_FILTER_CONTINUE,
continue as if nothing happened. If it returns
GDK_FILTER_REMOVE or GDK_FILTER_TRANSLATE, return TRUE from
gdk_event_translate() which means that DefWindowProc() will
not be called.
(gdk_event_translate): Fix client message handling. Append a
GDK_CLIENT_EVENT unless there is a filter that matches and returns
something other than GDK_FILTER_CONTINUE. (#135552)
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-8
gdk/win32/gdkevents-win32.c