From 56b4c24c876f66c3e9bb36f607847e033dc6a1a2 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 27 Sep 2012 13:52:07 -0700 Subject: [PATCH] Show events from all windows (for the legacy fullscreen case) --- src/video/x11/SDL_x11events.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/video/x11/SDL_x11events.c b/src/video/x11/SDL_x11events.c index ec6b9f132..14e03af02 100755 --- a/src/video/x11/SDL_x11events.c +++ b/src/video/x11/SDL_x11events.c @@ -149,6 +149,11 @@ X11_DispatchEvent(_THIS) } #endif +#if 0 + printf("type = %d display = %d window = %d\n", + xevent.type, xevent.xany.display, xevent.xany.window); +#endif + data = NULL; if (videodata && videodata->windowlist) { for (i = 0; i < videodata->numwindows; ++i) { @@ -163,10 +168,6 @@ X11_DispatchEvent(_THIS) return; } -#if 0 - printf("type = %d display = %d window = %d\n", - xevent.type, xevent.xany.display, xevent.xany.window); -#endif switch (xevent.type) { /* Gaining mouse coverage? */