pkgsrc-Bugs archive

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

pkg/33437: mouse pointer "invisible wall" with qemu 8.1



>Number:         33437
>Category:       pkg
>Synopsis:       mouse pointer "invisible wall" with qemu 8.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 07 19:15:00 +0000 2006
>Originator:     Mathieu
>Release:        3.0.0_STABLE
>Organization:
>Environment:
NetBSD sal.lan 3.0.0_STABLE NetBSD 3.0.0_STABLE (SPECIFIC) #0: Sat Apr  8 
22:19:10 EDT 2006  
mathieu%sal.lan@localhost:/usr/src/sys/arch/i386/compile/SPECIFIC i386
>Description:
Got exactly that problem:

http://lists.gnu.org/archive/html/qemu-devel/2006-05/msg00097.html

>How-To-Repeat:

>Fix:
That patch worked very well:

http://lists.gnu.org/archive/html/qemu-devel/2006-05/msg00112.html

--- sdl.c.orig  2006-05-03 16:32:58.000000000 -0400
+++ sdl.c       2006-05-07 01:35:00.000000000 -0400
@@ -280,13 +280,18 @@
 
 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);
     }
 }




Home | Main Index | Thread Index | Old Index