From 8db5843ef63e70919871fb41513e748ea8d880b0 Mon Sep 17 00:00:00 2001 From: havoc Date: Sat, 17 Mar 2007 13:19:00 +0000 Subject: [PATCH] reenabled vid_grabkeyboard by default until the focus issue is figured out git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6994 d7cf8633-e32d-0410-b094-e92efae38249 --- darkplaces.txt | 2 +- vid_shared.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/darkplaces.txt b/darkplaces.txt index 3b246d41..07864dd3 100644 --- a/darkplaces.txt +++ b/darkplaces.txt @@ -957,7 +957,7 @@ vid_conwidth 640 virtual wi vid_dga 1 make use of DGA mouse input vid_dga_mouseaccel 1 speed of mouse when using DGA mouse input vid_fullscreen 1 use fullscreen (1) or windowed (0) -vid_grabkeyboard 0 whether to grab the keyboard when mouse is active (prevents use of volume control keys, music player keys, etc on some keyboards) +vid_grabkeyboard 1 whether to grab the keyboard when mouse is active (prevents use of volume control keys, music player keys, etc on some keyboards) vid_hardwaregammasupported 1 indicates whether hardware gamma is supported (updated by attempts to set hardware gamma ramps) vid_height 480 resolution vid_minheight 0 minimum vid_height that is acceptable (to be set in default.cfg in mods) diff --git a/vid_shared.c b/vid_shared.c index d5457a2a..d15856b3 100644 --- a/vid_shared.c +++ b/vid_shared.c @@ -83,7 +83,7 @@ cvar_t vid_stereobuffer = {CVAR_SAVE, "vid_stereobuffer", "0", "enables 'quad-bu cvar_t vid_vsync = {CVAR_SAVE, "vid_vsync", "0", "sync to vertical blank, prevents 'tearing' (seeing part of one frame and part of another on the screen at the same time), automatically disabled when doing timedemo benchmarks"}; cvar_t vid_mouse = {CVAR_SAVE, "vid_mouse", "1", "whether to use the mouse in windowed mode (fullscreen always does)"}; -cvar_t vid_grabkeyboard = {CVAR_SAVE, "vid_grabkeyboard", "0", "whether to grab the keyboard when mouse is active (prevents use of volume control keys, music player keys, etc on some keyboards)"}; +cvar_t vid_grabkeyboard = {CVAR_SAVE, "vid_grabkeyboard", "1", "whether to grab the keyboard when mouse is active (prevents use of volume control keys, music player keys, etc on some keyboards)"}; cvar_t vid_minwidth = {0, "vid_minwidth", "0", "minimum vid_width that is acceptable (to be set in default.cfg in mods)"}; cvar_t vid_minheight = {0, "vid_minheight", "0", "minimum vid_height that is acceptable (to be set in default.cfg in mods)"}; cvar_t gl_combine = {0, "gl_combine", "1", "faster rendering by using GL_ARB_texture_env_combine extension (part of OpenGL 1.3 and above)"}; -- 2.39.2