diff options
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu/0001-sdl.c-allow-user-to-disable-pointer-grabs.patch')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu/0001-sdl.c-allow-user-to-disable-pointer-grabs.patch | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/meta/recipes-devtools/qemu/qemu/0001-sdl.c-allow-user-to-disable-pointer-grabs.patch b/meta/recipes-devtools/qemu/qemu/0001-sdl.c-allow-user-to-disable-pointer-grabs.patch index b8a9206fee..5b9a1f911c 100644 --- a/meta/recipes-devtools/qemu/qemu/0001-sdl.c-allow-user-to-disable-pointer-grabs.patch +++ b/meta/recipes-devtools/qemu/qemu/0001-sdl.c-allow-user-to-disable-pointer-grabs.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 18fb45c34a473c4ba247bb82bcea94b7c3ba493a Mon Sep 17 00:00:00 2001 | 1 | From c53ddb5acbee56db6423f369b9f9a9b62501b4af Mon Sep 17 00:00:00 2001 |
2 | From: Ross Burton <ross.burton@intel.com> | 2 | From: Ross Burton <ross.burton@intel.com> |
3 | Date: Wed, 18 Sep 2013 14:04:54 +0100 | 3 | Date: Wed, 18 Sep 2013 14:04:54 +0100 |
4 | Subject: [PATCH] sdl.c: allow user to disable pointer grabs | 4 | Subject: [PATCH] sdl.c: allow user to disable pointer grabs |
@@ -21,15 +21,16 @@ the current grabbing behaviour for everyone else. | |||
21 | Upstream-Status: Pending | 21 | Upstream-Status: Pending |
22 | Signed-off-by: Ross Burton <ross.burton@intel.com> | 22 | Signed-off-by: Ross Burton <ross.burton@intel.com> |
23 | Signed-off-by: Eric Bénard <eric@eukrea.com> | 23 | Signed-off-by: Eric Bénard <eric@eukrea.com> |
24 | |||
24 | --- | 25 | --- |
25 | ui/sdl.c | 13 +++++++++++-- | 26 | ui/sdl.c | 13 +++++++++++-- |
26 | 1 file changed, 11 insertions(+), 2 deletions(-) | 27 | 1 file changed, 11 insertions(+), 2 deletions(-) |
27 | 28 | ||
28 | diff --git a/ui/sdl.c b/ui/sdl.c | 29 | diff --git a/ui/sdl.c b/ui/sdl.c |
29 | index a5fd503c25..ab8d1b1eb1 100644 | 30 | index 190b16f5..aa89471d 100644 |
30 | --- a/ui/sdl.c | 31 | --- a/ui/sdl.c |
31 | +++ b/ui/sdl.c | 32 | +++ b/ui/sdl.c |
32 | @@ -68,6 +68,11 @@ static int idle_counter; | 33 | @@ -69,6 +69,11 @@ static int idle_counter; |
33 | static const guint16 *keycode_map; | 34 | static const guint16 *keycode_map; |
34 | static size_t keycode_maplen; | 35 | static size_t keycode_maplen; |
35 | 36 | ||
@@ -41,7 +42,7 @@ index a5fd503c25..ab8d1b1eb1 100644 | |||
41 | #define SDL_REFRESH_INTERVAL_BUSY 10 | 42 | #define SDL_REFRESH_INTERVAL_BUSY 10 |
42 | #define SDL_MAX_IDLE_COUNT (2 * GUI_REFRESH_INTERVAL_DEFAULT \ | 43 | #define SDL_MAX_IDLE_COUNT (2 * GUI_REFRESH_INTERVAL_DEFAULT \ |
43 | / SDL_REFRESH_INTERVAL_BUSY + 1) | 44 | / SDL_REFRESH_INTERVAL_BUSY + 1) |
44 | @@ -398,14 +403,16 @@ static void sdl_grab_start(void) | 45 | @@ -399,14 +404,16 @@ static void sdl_grab_start(void) |
45 | } | 46 | } |
46 | } else | 47 | } else |
47 | sdl_hide_cursor(); | 48 | sdl_hide_cursor(); |