lucianomol's F11 crash fix.

when using glx driver, the game crashes with an error of "unresolved symbol
Cvar_SetValue" when F11 ... hit.
This commit is contained in:
Bill Currie 2010-11-21 14:31:26 +09:00
parent b12d506ce1
commit 5270c22b4d

View file

@ -725,13 +725,7 @@ static int XLateKey(XKeyEvent *ev){
break;
case XK_F11:
if( ev->type == KeyPress){
if( _windowed_mouse->value){
Cvar_SetValue( "_windowed_mouse", 0);
} else {
Cvar_SetValue( "_windowed_mouse", 1);
}
}
key = K_F11;
break;
case XK_F12: