Skip to content

Commit

Permalink
Fix commit removing SDL1, SDL2 was always true and removes the cls.gl…
Browse files Browse the repository at this point in the history
…config.isfullscreen, thanks ZTM!
  • Loading branch information
Kangz committed Dec 15, 2014
1 parent a874d82 commit 7eeb8e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/engine/sys/sdl_input.cpp
Expand Up @@ -1554,12 +1554,12 @@ void IN_Frame( void )
// If not DISCONNECTED (main menu) or ACTIVE (in game), we're loading
loading = ( cls.state != CA_DISCONNECTED && cls.state != CA_ACTIVE );

if ( !cls.glconfig.isFullscreen && cls.keyCatchers & KEYCATCH_CONSOLE )
if ( cls.keyCatchers & KEYCATCH_CONSOLE )
{
// Console is down in windowed mode
IN_DeactivateMouse( qfalse );
}
else if ( !cls.glconfig.isFullscreen && loading )
else if ( loading )
{
// Loading in windowed mode
IN_DeactivateMouse( qtrue );
Expand Down

0 comments on commit 7eeb8e4

Please sign in to comment.