summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu/qemu/disable-grabs.patch
diff options
context:
space:
mode:
authorSona Sarmadi <sona.sarmadi@enea.com>2017-05-10 14:17:33 +0200
committerAdrian Dudau <adrian.dudau@enea.com>2017-05-11 15:28:51 +0200
commit5c021b4550f77ddc7d32664a08e46ba69d16c2c7 (patch)
tree3b8d3d3250841cc839f041f26186b6325f780f5d /meta/recipes-devtools/qemu/qemu/disable-grabs.patch
parent71d585a8deafbeea66a517313d9ae10862484d22 (diff)
downloadpoky-5c021b4550f77ddc7d32664a08e46ba69d16c2c7.tar.gz
qemu: Upgrade to 2.6.0
(From OE-Core rev: 6c18103e43fd593724f4317a1453a72b0feb6989) This patch is backported from upstream morty branch: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=morty&id=ff35bfa2420f30cb79995fb4808175b447967c07 Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu/disable-grabs.patch')
-rw-r--r--meta/recipes-devtools/qemu/qemu/disable-grabs.patch4
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
29--- a/ui/sdl.c 29--- a/ui/sdl.c
30+++ b/ui/sdl.c 30+++ b/ui/sdl.c
31@@ -59,6 +59,10 @@ static SDL_Cursor *guest_sprite = NULL; 31@@ -59,6 +59,10 @@ static SDL_Cursor *guest_sprite = NULL;
32 static SDL_PixelFormat host_format;
33 static int scaling_active = 0; 32 static int scaling_active = 0;
34 static Notifier mouse_mode_notifier; 33 static Notifier mouse_mode_notifier;
34 static int idle_counter;
35+#ifndef True 35+#ifndef True
36+#define True 1 36+#define True 1
37+#endif 37+#endif
@@ -40,7 +40,7 @@ index 39a42d6..9b8abe5 100644
40 static void sdl_update(DisplayChangeListener *dcl, 40 static void sdl_update(DisplayChangeListener *dcl,
41 int x, int y, int w, int h) 41 int x, int y, int w, int h)
42@@ -384,14 +388,16 @@ static void sdl_grab_start(void) 42@@ -384,14 +388,16 @@ static void sdl_grab_start(void)
43 SDL_WarpMouse(guest_x, guest_y); 43 }
44 } else 44 } else
45 sdl_hide_cursor(); 45 sdl_hide_cursor();
46- SDL_WM_GrabInput(SDL_GRAB_ON); 46- SDL_WM_GrabInput(SDL_GRAB_ON);