diff options
-rw-r--r-- | src/sdl_fb.c | 3 |
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; } |