forked from AuroraMiddleware/gtk
set event->any.window before calling filter functions.
1999-11-23 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkevents-win32.c (gdk_event_translate): set event->any.window before calling filter functions.
This commit is contained in:
parent
2421aab193
commit
0b793d2cc8
@ -1,3 +1,8 @@
|
||||
1999-11-23 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkevents-win32.c (gdk_event_translate): set
|
||||
event->any.window before calling filter functions.
|
||||
|
||||
Fri Nov 19 10:34:41 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkgamma.h: Adapt cast macros to standard.
|
||||
|
@ -1,3 +1,8 @@
|
||||
1999-11-23 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkevents-win32.c (gdk_event_translate): set
|
||||
event->any.window before calling filter functions.
|
||||
|
||||
Fri Nov 19 10:34:41 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkgamma.h: Adapt cast macros to standard.
|
||||
|
@ -1,3 +1,8 @@
|
||||
1999-11-23 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkevents-win32.c (gdk_event_translate): set
|
||||
event->any.window before calling filter functions.
|
||||
|
||||
Fri Nov 19 10:34:41 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkgamma.h: Adapt cast macros to standard.
|
||||
|
@ -1,3 +1,8 @@
|
||||
1999-11-23 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkevents-win32.c (gdk_event_translate): set
|
||||
event->any.window before calling filter functions.
|
||||
|
||||
Fri Nov 19 10:34:41 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkgamma.h: Adapt cast macros to standard.
|
||||
|
@ -1,3 +1,8 @@
|
||||
1999-11-23 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkevents-win32.c (gdk_event_translate): set
|
||||
event->any.window before calling filter functions.
|
||||
|
||||
Fri Nov 19 10:34:41 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkgamma.h: Adapt cast macros to standard.
|
||||
|
@ -1,3 +1,8 @@
|
||||
1999-11-23 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkevents-win32.c (gdk_event_translate): set
|
||||
event->any.window before calling filter functions.
|
||||
|
||||
Fri Nov 19 10:34:41 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkgamma.h: Adapt cast macros to standard.
|
||||
|
@ -1,3 +1,8 @@
|
||||
1999-11-23 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkevents-win32.c (gdk_event_translate): set
|
||||
event->any.window before calling filter functions.
|
||||
|
||||
Fri Nov 19 10:34:41 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkgamma.h: Adapt cast macros to standard.
|
||||
|
@ -2972,6 +2972,7 @@ gdk_event_translate (GdkEvent *event,
|
||||
{
|
||||
/* Check for filters for this window */
|
||||
GdkFilterReturn result;
|
||||
event->any.window = window;
|
||||
result = gdk_event_apply_filters
|
||||
(xevent, event, ((GdkWindowPrivate *) window)->filters);
|
||||
|
||||
@ -3040,6 +3041,7 @@ gdk_event_translate (GdkEvent *event,
|
||||
if (filter->type == xevent->message)
|
||||
{
|
||||
GDK_NOTE (EVENTS, g_print ("client filter matched\n"));
|
||||
event->any.window = window;
|
||||
result = (*filter->function) (xevent, event, filter->data);
|
||||
switch (result)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user