src/video/x11/SDL_x11events.c
changeset 2327 7b53a8401195
parent 2326 133562468ff2
child 2328 91e601d9df8b
     1.1 --- a/src/video/x11/SDL_x11events.c	Fri Mar 07 21:01:54 2008 +0000
     1.2 +++ b/src/video/x11/SDL_x11events.c	Fri Mar 07 23:57:15 2008 +0000
     1.3 @@ -43,8 +43,9 @@
     1.4      /* filter events catchs XIM events and sends them to the correct
     1.5         handler */
     1.6      if (XFilterEvent(&xevent, None) == True) {
     1.7 -#ifdef DEBUG_XEVENTS
     1.8 -        printf("Filtered event of type = 0x%X\n", xevent.type);
     1.9 +#if 0
    1.10 +      printf("Filtered event type = %d display = %d window = %d\n", 
    1.11 +             xevent.type, xevent.xany.display, xevent.xany.window);
    1.12  #endif
    1.13          return;
    1.14      }
    1.15 @@ -73,6 +74,10 @@
    1.16          return;
    1.17      }
    1.18  
    1.19 +#if 0
    1.20 +      printf("type = %d display = %d window = %d\n", 
    1.21 +             xevent.type, xevent.xany.display, xevent.xany.window);
    1.22 +#endif
    1.23      switch (xevent.type) {
    1.24  
    1.25          /* Gaining mouse coverage? */