From 3b967c8eeed7f266bb45d701393f68ae9159cf9a Mon Sep 17 00:00:00 2001 From: James R Date: Sat, 4 Jan 2020 22:36:44 -0800 Subject: [PATCH] Add USE_MOUSEINPUT because without it, the mouse gets grabbed with use_mouse off! --- src/sdl/i_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sdl/i_video.c b/src/sdl/i_video.c index e6a40327b..2b8633e5b 100644 --- a/src/sdl/i_video.c +++ b/src/sdl/i_video.c @@ -388,7 +388,7 @@ void I_UpdateMouseGrab(void) { if (SDL_WasInit(SDL_INIT_VIDEO) == SDL_INIT_VIDEO && window != NULL && SDL_GetMouseFocus() == window && SDL_GetKeyboardFocus() == window - && !IGNORE_MOUSE) + && USE_MOUSEINPUT && !IGNORE_MOUSE) SDLdoGrabMouse(); }