From bec131e69d29e55472f98412aa302f4c671423b3 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 6 May 2008 12:07:44 +0100 Subject: [PATCH] merge from in qemu upstream: show right cursor when ungrabbing, by clearing gui_grab before calling sdl_show_cursor --- sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdl.c b/sdl.c index 8792789396..0954e179ec 100644 --- a/sdl.c +++ b/sdl.c @@ -463,8 +463,8 @@ static void sdl_grab_start(void) static void sdl_grab_end(void) { SDL_WM_GrabInput(SDL_GRAB_OFF); - sdl_show_cursor(); gui_grab = 0; + sdl_show_cursor(); sdl_update_caption(); } -- 2.39.5