Skip to contentSkip to conversation

Mouse gets stuck w/ qemu-0.8.1 running Windows2000/XP

Qemu-devel Agustin Barto 3 participants 3 messages Jun 13, 2006 – Jun 15, 2006

lore
Share & tools
lore
#0 lore raw

I'm running WindowsXP (the problem is also present with Windows2000) on qemu-0.8.1 over an FC5 host, and sometimes the mouse gets stuck at some point (kinda like hitting a screen edge) and I have to "wiggle" the mouse a bit to pass over this limit.

I didn't have this problem with qemu-0.7.x and prior versions.

#1 lore raw

Hi,

Quoted 6 lines · Agustin Barto

I'm running WindowsXP (the problem is also present with Windows2000) on qemu-0.8.1 over an FC5 host, and sometimes the mouse gets stuck at some point (kinda like hitting a screen edge) and I have to "wiggle" the mouse a bit to pass over this limit.

I didn't have this problem with qemu-0.7.x and prior versions.

Funny. It seems that there have been quite a few messages on this list, which address exactly your problem. The latest such message was even only a few minutes ago.

Ciao,
Dscho

#2 lore raw

... And a workable patch was proposed many times in the past, but never committed. I had to manually apply it every time I updated my sources from CVS. Are there any known issues with the patch?

sdl.c Thu May 04 21:30:11 2006 -0500 renamed from sdl.c Thu May 04 04:13:13 2006 +0000 +7 -2
diff -r 39a6dd1136c6 sdl.c
@@ -280,13 +280,18 @@ static void sdl_update_caption(void)
 
 static void sdl_hide_cursor(void)
 {
-    SDL_SetCursor(sdl_cursor_hidden);
+    if (kbd_mouse_is_absolute()) {
+       SDL_ShowCursor(1);
+       SDL_SetCursor(sdl_cursor_hidden);
+    } else {
+       SDL_ShowCursor(0);
+    }
 }
 
 static void sdl_show_cursor(void)
 {
     if (!kbd_mouse_is_absolute()) {
-       SDL_SetCursor(sdl_cursor_normal);
+       SDL_ShowCursor(1);
     }
 }
 
Signature · 4 lines
Alex.

"Johannes Schindelin" <[email protected]> wrote in message 
news:Pine.LNX.4.63.0606131454080.28618@wbgn013.biozentrum.uni-wuerzburg.de...
Quoted 17 lines

Hi,

Quoted 6 lines · Agustin Barto

I'm running WindowsXP (the problem is also present with Windows2000) on qemu-0.8.1 over an FC5 host, and sometimes the mouse gets stuck at some point (kinda like hitting a screen edge) and I have to "wiggle" the mouse a bit to pass over this limit.

I didn't have this problem with qemu-0.7.x and prior versions.

Funny. It seems that there have been quite a few messages on this list, which address exactly your problem. The latest such message was even only a few minutes ago.

Ciao,
Dscho