]> xenbits.xensource.com Git - qemu-xen-4.3-testing.git/commitdiff
merge from in qemu upstream: show right cursor when ungrabbing, by clearing gui_grab...
authorIan Jackson <iwj@mariner.uk.xensource.com>
Tue, 6 May 2008 11:07:44 +0000 (12:07 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 12 May 2008 11:20:11 +0000 (12:20 +0100)
sdl.c

diff --git a/sdl.c b/sdl.c
index 8792789396a10ea0591f26464c86ec52c1cb8ef3..0954e179ec689e4bf59710eab23225ad2348095e 100644 (file)
--- 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();
 }