Skip to content

Commit

Permalink
Merge pull request #831 from qw-ctf/no-keyboard-grab
Browse files Browse the repository at this point in the history
SDL: Default to no keyboard grab on Windows.
  • Loading branch information
tcsabina authored Sep 24, 2023
2 parents 3c246fb + 964a0ed commit e8ed7a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vid_sdl2.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ cvar_t vid_minimize_on_focus_loss = {"vid_minimize_on_focus_loss", CVAR_DEF1, CV
// TODO: Move the in_* cvars
cvar_t in_raw = {"in_raw", "1", CVAR_ARCHIVE | CVAR_SILENT, in_raw_callback};
cvar_t in_grab_windowed_mouse = {"in_grab_windowed_mouse", "1", CVAR_ARCHIVE | CVAR_SILENT, in_grab_windowed_mouse_callback};
cvar_t vid_grab_keyboard = {"vid_grab_keyboard", CVAR_DEF2, CVAR_LATCH_GFX }; /* Needs vid_restart thus vid_.... */
cvar_t vid_grab_keyboard = {"vid_grab_keyboard", "0", CVAR_LATCH_GFX }; /* Needs vid_restart thus vid_.... */
#ifdef EZ_MULTIPLE_RENDERERS
cvar_t vid_renderer = {"vid_renderer", "1", CVAR_LATCH_GFX };
#endif
Expand Down

0 comments on commit e8ed7a5

Please sign in to comment.