From b82574e71f0b5936f4565a63eb67e78bef546533 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 27 Apr 2001 16:56:47 +0000 Subject: [PATCH] Fixed relative motion checking after restore under X11 --- src/video/x11/SDL_x11events.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/video/x11/SDL_x11events.c b/src/video/x11/SDL_x11events.c index 71ad0a529..804682ab8 100644 --- a/src/video/x11/SDL_x11events.c +++ b/src/video/x11/SDL_x11events.c @@ -327,6 +327,8 @@ printf("MapNotify!\n"); } else { X11_GrabInputNoLock(this, this->input_grab); } + X11_CheckMouseModeNoLock(this); + if ( SDL_VideoSurface ) { X11_RefreshDisplay(this); }