aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--code/unix/linux_glimp_sdl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/code/unix/linux_glimp_sdl.c b/code/unix/linux_glimp_sdl.c
index 8eba4f4..1202b70 100644
--- a/code/unix/linux_glimp_sdl.c
+++ b/code/unix/linux_glimp_sdl.c
@@ -254,11 +254,13 @@ static const char *XLateKey(SDL_keysym *keysym, int *key)
static void install_grabs(void)
{
+ SDL_ShowCursor(0);
SDL_WM_GrabInput(SDL_GRAB_ON);
}
static void uninstall_grabs(void)
{
+ SDL_ShowCursor(1);
SDL_WM_GrabInput(SDL_GRAB_OFF);
}