Show events from all windows (for the legacy fullscreen case)
authorSam Lantinga <slouken@libsdl.org>
Thu, 27 Sep 2012 13:52:07 -0700
changeset 6476 9010d6830cdf
parent 6475 71d39944810b
child 6477 1e99ebaf0b14
Show events from all windows (for the legacy fullscreen case)
src/video/x11/SDL_x11events.c
--- a/src/video/x11/SDL_x11events.c	Thu Sep 27 13:23:34 2012 -0700
+++ b/src/video/x11/SDL_x11events.c	Thu Sep 27 13:52:07 2012 -0700
@@ -149,6 +149,11 @@
     }
 #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 @@
         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? */