Backed out changeset c9c61d66cfa0
authorRyan C. Gordon <icculus@icculus.org>
Sun, 07 Jun 2015 17:59:31 -0400
changeset 971342877ed9b1c5
parent 9712 a964d651f1dd
child 9714 e501460cb4c4
Backed out changeset c9c61d66cfa0

This caused Bugzilla #2963, so we'll find a better solution.
src/video/x11/SDL_x11window.c
     1.1 --- a/src/video/x11/SDL_x11window.c	Sun Jun 07 17:54:39 2015 -0400
     1.2 +++ b/src/video/x11/SDL_x11window.c	Sun Jun 07 17:59:31 2015 -0400
     1.3 @@ -1353,12 +1353,9 @@
     1.4      if (oldstyle_fullscreen || grabbed) {
     1.5          /* Try to grab the mouse */
     1.6          for (;;) {
     1.7 -            const unsigned int mask = ButtonPressMask | ButtonReleaseMask 
     1.8 -                | PointerMotionMask | FocusChangeMask;
     1.9              int result =
    1.10 -                X11_XGrabPointer(display, data->xwindow, False, mask, 
    1.11 -                             GrabModeAsync, GrabModeAsync, data->xwindow, 
    1.12 -                             None, CurrentTime);
    1.13 +                X11_XGrabPointer(display, data->xwindow, True, 0, GrabModeAsync,
    1.14 +                             GrabModeAsync, data->xwindow, None, CurrentTime);
    1.15              if (result == GrabSuccess) {
    1.16                  break;
    1.17              }