qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: Mouse gets stuck w/ qemu-0.8.1 running Windows2000/XP


From: Alex
Subject: [Qemu-devel] Re: Mouse gets stuck w/ qemu-0.8.1 running Windows2000/XP
Date: Thu, 15 Jun 2006 02:54:56 -0000

... 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?

diff -r 39a6dd1136c6 sdl.c
--- a/sdl.c     Thu May 04 04:13:13 2006 +0000
+++ b/sdl.c     Thu May 04 21:30:11 2006 -0500
@@ -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);
     }
 }


-- 
Alex.

"Johannes Schindelin" <address@hidden> wrote in message 
news:address@hidden
> Hi,
>
> On Tue, 13 Jun 2006, Agustin Barto wrote:
>
>> 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 







reply via email to

[Prev in Thread] Current Thread [Next in Thread]