From 236b96ae1ed053461da06dbd4e86bacd6eb0d35d Mon Sep 17 00:00:00 2001 From: gewlitys Date: Thu, 21 Aug 2003 19:42:40 +0000 Subject: [PATCH] Mouse cursor is now hidden in fullscreen mode (bug #173) git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1104 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/libs/graphics/sdl/sdl_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sc2/src/sc2code/libs/graphics/sdl/sdl_common.c b/sc2/src/sc2code/libs/graphics/sdl/sdl_common.c index 769989504..7eacd1bb1 100644 --- a/sc2/src/sc2code/libs/graphics/sdl/sdl_common.c +++ b/sc2/src/sc2code/libs/graphics/sdl/sdl_common.c @@ -90,8 +90,8 @@ TFB_InitGraphics (int driver, int flags, int width, int height, int bpp) UQM_MAJOR_VERSION, UQM_MINOR_VERSION, UQM_EXTRA_VERSION); SDL_WM_SetCaption (caption, NULL); - //if (flags & TFB_GFXFLAGS_FULLSCREEN) - // SDL_ShowCursor (SDL_DISABLE); + if (flags & TFB_GFXFLAGS_FULLSCREEN) + SDL_ShowCursor (SDL_DISABLE); TFB_FlushPaletteCache (); TFB_DrawCanvas_Initialize ();