mirror of
https://github.com/kevinbentley/Descent3.git
synced 2026-04-05 14:00:03 -04:00
This reverts commit 1707ee1986.
Under X11, grabbing the keyboard has negative side effect of
rendering Alt-Tab useless in windowed mode. Multimedia volume keys
are rendered useless in windowed or fullscreen mode. When execution
of descent3 is suspended (e.g. when running under a debugger), it
would be impossible to get out of it even in fullscreen mode, since
the SDL handler does not run.
Looking at other games, I find that many other engines
(chocolate-doom, gzdoom, yquake2, sauerbraten, but also gl-117) do
not exercise keyboard grabbing either and only use relative mouse
mode (mouse grab).
53 KiB
53 KiB