Make sure fullscreen does not work for in_nograb when manually Alt-Entering, too.
This commit is contained in:
1 parent
401f7521ff
commit
9412316883
2 files changed
+8
-1
No files matched your search
@@ -1164,7 +1164,7 @@ void CL_KeyEvent (int key, qboolean down, unsigned time) {
|
||||
{
|
||||
if (keys[K_ALT].down)
|
||||
{
|
||||
Key_ClearStates();
|
||||
// Key_ClearStates(); // Thilo: why should we clear the key states here?
|
||||
Cvar_SetValue( "r_fullscreen",
|
||||
!Cvar_VariableIntegerValue( "r_fullscreen" ) );
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user