Fixed relative motion checking after restore under X11
authorSam Lantinga <slouken@lokigames.com>
Fri, 27 Apr 2001 16:56:47 +0000
changeset 8 5574376c451d
parent 7 2c4a3a759c66
child 9 a1c15fa4abb9
Fixed relative motion checking after restore under X11
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);
 		}