Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Show events from all windows (for the legacy fullscreen case)
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Sep 27, 2012
1 parent a7243d9 commit 1a7aa0c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/video/x11/SDL_x11events.c
Expand Up @@ -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) {
Expand All @@ -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? */
Expand Down

0 comments on commit 1a7aa0c

Please sign in to comment.