From 4f85bb938428c90015ef5d0f78af69582c94fdea Mon Sep 17 00:00:00 2001 From: Florian Schulze Date: Fri, 5 Jul 2002 13:04:38 +0000 Subject: [PATCH] Fix include. Don't hide cursor when in window mode. --- sdl/gfx.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sdl/gfx.c b/sdl/gfx.c index 094e518..b769dc5 100644 --- a/sdl/gfx.c +++ b/sdl/gfx.c @@ -28,7 +28,7 @@ */ #include "globals.h" -#include "SDL_endian.h" +#include #if SDL_BYTEORDER == SDL_LIL_ENDIAN #define SWAP16(X) (X) #define SWAP32(X) (X) @@ -112,7 +112,10 @@ void open_screen(void) exit(EXIT_FAILURE); } - SDL_ShowCursor(0); + if(fullscreen) + SDL_ShowCursor(0); + else + SDL_ShowCursor(1); vinited = 1; -- 2.39.2