diff options
author | Marek Vasut <marex@denx.de> | 2016-05-20 07:03:29 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-22 16:09:21 +0100 |
commit | 6c18103e43fd593724f4317a1453a72b0feb6989 (patch) | |
tree | e33a2caa5bc5164ea342b5b7a1499bf8ccf9d2b0 /meta/recipes-devtools/qemu/qemu/disable-grabs.patch | |
parent | 33865f29ac85dc587a2d3fe880138685ee6bba56 (diff) | |
download | openembedded-core-contrib-6c18103e43fd593724f4317a1453a72b0feb6989.tar.gz |
qemu: Upgrade to 2.6.0
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu/disable-grabs.patch')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu/disable-grabs.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/qemu/qemu/disable-grabs.patch b/meta/recipes-devtools/qemu/qemu/disable-grabs.patch index 41726b1c87..123833f824 100644 --- a/meta/recipes-devtools/qemu/qemu/disable-grabs.patch +++ b/meta/recipes-devtools/qemu/qemu/disable-grabs.patch @@ -29,9 +29,9 @@ index 39a42d6..9b8abe5 100644 --- a/ui/sdl.c +++ b/ui/sdl.c @@ -59,6 +59,10 @@ static SDL_Cursor *guest_sprite = NULL; - static SDL_PixelFormat host_format; static int scaling_active = 0; static Notifier mouse_mode_notifier; + static int idle_counter; +#ifndef True +#define True 1 +#endif @@ -40,7 +40,7 @@ index 39a42d6..9b8abe5 100644 static void sdl_update(DisplayChangeListener *dcl, int x, int y, int w, int h) @@ -384,14 +388,16 @@ static void sdl_grab_start(void) - SDL_WarpMouse(guest_x, guest_y); + } } else sdl_hide_cursor(); - SDL_WM_GrabInput(SDL_GRAB_ON); |