summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui/sdl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/sdl.c b/ui/sdl.c
index 385cc91279..c7aaedf32d 100644
--- a/ui/sdl.c
+++ b/ui/sdl.c
@@ -491,7 +491,9 @@ static void sdl_mouse_mode_change(Notifier *notify, void *data)
absolute_enabled = 1;
}
} else if (absolute_enabled) {
- sdl_grab_end();
+ if (!gui_fullscreen) {
+ sdl_grab_end();
+ }
absolute_enabled = 0;
}
}