mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-12-19 17:37:42 -05:00
Merge pull request #716 from jengelh/grab
Revert "Grab keyboard when the game is not launched with -nomousegrab"
This commit is contained in:
@@ -441,7 +441,6 @@ int opengl_Setup(oeApplication *app, const int *width, const int *height) {
|
||||
|
||||
bool grabMouse = FindArgChar("-nomousegrab", 'm') == 0;
|
||||
SDL_SetWindowRelativeMouseMode(GSDLWindow, grabMouse);
|
||||
SDL_SetWindowKeyboardGrab(GSDLWindow, grabMouse);
|
||||
|
||||
rend_SetFullScreen(Game_fullscreen);
|
||||
} else if (!Game_fullscreen) {
|
||||
|
||||
Reference in New Issue
Block a user