Skip to content
Snippets Groups Projects
Commit ea3c36eb authored by James R.'s avatar James R.
Browse files

Merge branch 'fix-mouse-grabbing' into 'master'

Fix mouse being grabbed even when not used

See merge request STJr/SRB2!639
parents 6af0249d e847777a
No related branches found
No related tags found
2 merge requests!734Rebase Keycodes only branch.,!639Fix mouse being grabbed even when not used
......@@ -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();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment