Thomas Han wrote:
Hi,

For what it's worth. I have also seen this "invisible wall" problem with my mouse for a few weeks off the CVS build too.

Can you try out the following patch.  *grumbles about SDL's brokenness*

Regards,

Anthony Liguori

Since 0.8.1 came out yesterday, Instead of using CVS build, I'm now running Qemu 0.8.1 + kqemu-1.3.0pre6. My host OS is FC5 and I'm running XP inside it.

Thanks,
Thomas

On 5/4/06, *Christian MICHON* < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    qemu 0.8.0 does not show this invisible barrier issue.
    if this is worth anything, I use SDL 1.2.9.

    If someone can reproduce the issue also on linux hosts,
    there could be a lead.

    On 5/4/06, Christian MICHON <[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>> wrote:
    > I removed manually vnc_display_init, and this is not the culprit...
    > I'll check anyway versus qemu-0.8.0...
    >
    --
    Christian


    _______________________________________________
    Qemu-devel mailing list
    Qemu-devel@nongnu.org <mailto:Qemu-devel@nongnu.org>
    http://lists.nongnu.org/mailman/listinfo/qemu-devel


------------------------------------------------------------------------

_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

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);
     }
 }
 
_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to