diff options
author | Richard Purdie <richard@openedhand.com> | 2007-06-13 11:55:58 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-06-13 11:55:58 +0000 |
commit | c6a97a06968d062b742d458f86cb8fbf6ab63e99 (patch) | |
tree | 3b684d87ce2dcf944ddb0acf1a6c609c9b22036a /meta/packages/qemu/files/mouse_fix-r0.patch | |
parent | 4b747705b4adc0085f131e2b6bd8f01fe306e59b (diff) | |
download | poky-c6a97a06968d062b742d458f86cb8fbf6ab63e99.tar.gz |
qemu: Update to a recent version
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1923 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/qemu/files/mouse_fix-r0.patch')
-rw-r--r-- | meta/packages/qemu/files/mouse_fix-r0.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/meta/packages/qemu/files/mouse_fix-r0.patch b/meta/packages/qemu/files/mouse_fix-r0.patch deleted file mode 100644 index 8cc19f0392..0000000000 --- a/meta/packages/qemu/files/mouse_fix-r0.patch +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | If the cursor is hidden (SDL_ShowCursor(0)) and the input is grabbed | ||
2 | (SDL_WM_GrabInput(SDL_GRAB_ON)), then the mouse will give relative motion | ||
3 | events even when the cursor reaches the edge fo the screen. This is currently | ||
4 | only implemented on Windows and Linux/Unix-a-likes. | ||
5 | |||
6 | Index: qemu/sdl.c | ||
7 | =================================================================== | ||
8 | --- qemu.orig/sdl.c 2006-04-13 12:22:22.000000000 +0100 | ||
9 | +++ qemu/sdl.c 2006-05-25 00:28:25.000000000 +0100 | ||
10 | @@ -280,13 +280,13 @@ | ||
11 | |||
12 | static void sdl_hide_cursor(void) | ||
13 | { | ||
14 | - SDL_SetCursor(sdl_cursor_hidden); | ||
15 | + SDL_ShowCursor(0); | ||
16 | } | ||
17 | |||
18 | static void sdl_show_cursor(void) | ||
19 | { | ||
20 | if (!kbd_mouse_is_absolute()) { | ||
21 | - SDL_SetCursor(sdl_cursor_normal); | ||
22 | + SDL_ShowCursor(1); | ||
23 | } | ||
24 | } | ||
25 | |||