mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-15 00:42:03 +00:00
098d97bdb0
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. |
||
---|---|---|
.. | ||
sdl_gamma.c | ||
sdl_glimp.c | ||
sdl_icon.h | ||
sdl_input.c | ||
sdl_snd.c |