diff options
Diffstat (limited to 'sdl.c')
-rw-r--r-- | sdl.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -236,6 +236,9 @@ static void sdl_update_caption(void) static void sdl_hide_cursor(void) { + if (!cursor_hide) + return; + if (kbd_mouse_is_absolute()) { SDL_ShowCursor(1); SDL_SetCursor(sdl_cursor_hidden); @@ -246,6 +249,9 @@ static void sdl_hide_cursor(void) static void sdl_show_cursor(void) { + if (!cursor_hide) + return; + if (!kbd_mouse_is_absolute()) { SDL_ShowCursor(1); if (guest_cursor && |