ioq3quest/code/sdl
Zack Middleton 098d97bdb0 Fix in_nograb not releasing the mouse cursor
Disable SDL relative mouse mode when in_nograb is enabled. Relative
mouse mode hides the cursor and it cannot exit the window regardless
of the window's grab state.

This wasn't always the case. SDL before 2.0.4 on GNU/Linux released
the mouse cursor in relative mode. However, SDL 2.0.3/4 on Windows
does not. (I did not test other Windows versions.) So I think SDL
2.0.4 made GNU/Linux X11 behavior consistent with other platforms.

This fixes mouse input being unusable when debuging client crashes
in gdb.
2017-09-10 19:11:36 -05:00
..
sdl_gamma.c Added SDL_GetError() 2015-07-26 15:45:21 +02:00
sdl_glimp.c Reject OpenGL contexts w/ software renderer when core context requested. 2017-08-03 14:20:33 -07:00
sdl_icon.h Reverting. 2008-07-06 17:16:14 +00:00
sdl_input.c Fix in_nograb not releasing the mouse cursor 2017-09-10 19:11:36 -05:00
sdl_snd.c SDL_Init zero check 2015-07-24 22:56:00 +02:00