src/video/x11/SDL_x11window.c
changeset 6477 1e99ebaf0b14
parent 6475 71d39944810b
child 6479 388318faf0fb
     1.1 --- a/src/video/x11/SDL_x11window.c	Thu Sep 27 13:52:07 2012 -0700
     1.2 +++ b/src/video/x11/SDL_x11window.c	Thu Sep 27 13:52:57 2012 -0700
     1.3 @@ -1065,6 +1065,7 @@
     1.4      XWarpPointer(display, None, root, 0, 0, 0, 0, rect.x, rect.y);
     1.5  
     1.6      /* Wait to be mapped, filter Unmap event out if it arrives. */
     1.7 +    XIfEvent(display, &ev, &isUnmapNotify, (XPointer)&data->xwindow);
     1.8      XIfEvent(display, &ev, &isMapNotify, (XPointer)&data->xwindow);
     1.9  
    1.10      /* Wait to be visible, or XSetInputFocus() triggers an X error. */