summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/i_video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i_video.c b/src/i_video.c
index d0140a0b..ec0fc58f 100644
--- a/src/i_video.c
+++ b/src/i_video.c
@@ -923,6 +923,7 @@ static void UpdateGrab(void)
// example.
SDL_WarpMouse(screen->w - 16, screen->h - 16);
+ SDL_PumpEvents();
SDL_GetRelativeMouseState(NULL, NULL);
}