From 5d94e3b158bac9859adc2ad95f6d51775bf99d05 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 --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%409 --- 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); }