Skip to content

Commit a84848c

Browse files
authored
Merge pull request #716 from jengelh/grab
Revert "Grab keyboard when the game is not launched with -nomousegrab"
2 parents ae7d8fb + 21359c1 commit a84848c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

renderer/HardwareOpenGL.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,6 @@ int opengl_Setup(oeApplication *app, const int *width, const int *height) {
441441

442442
bool grabMouse = FindArgChar("-nomousegrab", 'm') == 0;
443443
SDL_SetWindowRelativeMouseMode(GSDLWindow, grabMouse);
444-
SDL_SetWindowKeyboardGrab(GSDLWindow, grabMouse);
445444

446445
rend_SetFullScreen(Game_fullscreen);
447446
} else if (!Game_fullscreen) {

0 commit comments

Comments
 (0)