From 5203e6a41dbe296102e1852b42dc2cdcd55b5408 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Wed, 23 Dec 2009 01:40:43 +0000 Subject: * Make cursor hiding more consistent --- src/sdl/sdl_input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sdl') 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 ); -- cgit