src/video/x11/SDL_x11xinput2.c
changeset 8071 1ac2db4abe11
parent 8019 5d85b2186aae
child 8093 b43765095a6f
     1.1 --- a/src/video/x11/SDL_x11xinput2.c	Mon Dec 23 17:15:32 2013 -0800
     1.2 +++ b/src/video/x11/SDL_x11xinput2.c	Mon Dec 23 17:37:22 2013 -0800
     1.3 @@ -134,7 +134,7 @@
     1.4              SDL_Mouse *mouse = SDL_GetMouse();
     1.5              double relative_cords[2];
     1.6  
     1.7 -            if (!mouse->relative_mode) {
     1.8 +            if (!mouse->relative_mode || mouse->relative_mode_warp) {
     1.9                  return 0;
    1.10              }
    1.11