summaryrefslogtreecommitdiff
path: root/src/sdl/sdl_input.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2009-12-23 01:40:43 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:17:24 +0000
commit5203e6a41dbe296102e1852b42dc2cdcd55b5408 (patch)
tree6382e9a7cb9d9558b98bb5867a10d27875f0bf58 /src/sdl/sdl_input.c
parent43770d569cd5a1fb8093b01f961c94ffdb607b3d (diff)
* Make cursor hiding more consistent
Diffstat (limited to 'src/sdl/sdl_input.c')
-rw-r--r--src/sdl/sdl_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sdl/sdl_input.c b/src/sdl/sdl_input.c
index 731aca72..ec96b086 100644
--- a/src/sdl/sdl_input.c
+++ b/src/sdl/sdl_input.c
@@ -535,7 +535,7 @@ static void IN_DeactivateMouse( void )
if( !r_fullscreen->integer )
{
if( ( Key_GetCatcher( ) == KEYCATCH_UI ) &&
- ( SDL_GetAppState( ) & (SDL_APPMOUSEFOCUS|SDL_APPINPUTFOCUS) ) == (SDL_APPMOUSEFOCUS|SDL_APPINPUTFOCUS) )
+ ( SDL_GetAppState( ) & SDL_APPMOUSEFOCUS ) )
SDL_ShowCursor( 0 );
else
SDL_ShowCursor( 1 );