summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sdl_fb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sdl_fb.c b/src/sdl_fb.c
index c398b92..6a67411 100644
--- a/src/sdl_fb.c
+++ b/src/sdl_fb.c
@@ -220,6 +220,9 @@ static int sdl_fb_acquire(til_fb_t *fb, void *context, void *page)
if (!c->texture)
return -1;
+ if (c->flags & SDL_WINDOW_FULLSCREEN || c->flags & SDL_WINDOW_FULLSCREEN_DESKTOP)
+ SDL_ShowCursor(SDL_DISABLE);
+
return 0;
}
© All Rights Reserved