# HG changeset patch # User Sam Lantinga # Date 988390607 0 # Node ID 5574376c451d5e17a244fc080029df1e46513a5e # Parent 2c4a3a759c66e8d33fbc8b0ed2691438230cf473 Fixed relative motion checking after restore under X11 diff -r 2c4a3a759c66 -r 5574376c451d src/video/x11/SDL_x11events.c --- a/src/video/x11/SDL_x11events.c Thu Apr 26 18:37:24 2001 +0000 +++ b/src/video/x11/SDL_x11events.c Fri Apr 27 16:56:47 2001 +0000 @@ -327,6 +327,8 @@ } else { X11_GrabInputNoLock(this, this->input_grab); } + X11_CheckMouseModeNoLock(this); + if ( SDL_VideoSurface ) { X11_RefreshDisplay(this); }