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

Re: Bug#503459: xserver-xorg-input-vmmouse: activating vmmouse lets X server die on startup



Julien Cristau wrote:

> I suspect removing the call to FlushButtons in
> src/vmmouse.c:VMMouseDeviceControl would fix this.  Care to try that?

I've had the same problem, and removing that call indeed fixes the problem.

(In detail, I used xserver-xorg-input-vmmouse_12.5.1.orig.tar.gz patched
with xserver-xorg-input-vmmouse_12.5.1-4.diff.gz, made the change shown
in the attached diff, ran ./configure && make and copied
src/.lib/vmmouse_drv.so to /usr/lib/xorg/modules/input/vmmouse_drv.so.)

Disclaimer: I have no idea what the change does.  It seems to be working
fine on my system though.

Thanks a lot for your help!

Best,

    Lea


--- xf86-input-vmmouse-12.5.1/src/vmmouse.c~	2008-11-05 07:35:27.000000000 -0500
+++ xf86-input-vmmouse-12.5.1/src/vmmouse.c	2008-11-05 07:38:12.000000000 -0500
@@ -865,7 +865,7 @@
       }
       pMse->lastButtons = 0;
       device->public.on = TRUE;
-      FlushButtons(pMse);
+      /* FlushButtons(pMse); */
       break;
    case DEVICE_OFF:
    case DEVICE_CLOSE:

Reply to: