From c4f95f53617d5efd78de5b8b6a13fe937fb5478f Mon Sep 17 00:00:00 2001 From: marha Date: Tue, 8 Nov 2011 10:27:32 +0100 Subject: miPointerSetPosition interface has been changes (solved problem of mouse not working anymore) --- xorg-server/hw/xwin/winmouse.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'xorg-server/hw/xwin/winmouse.c') diff --git a/xorg-server/hw/xwin/winmouse.c b/xorg-server/hw/xwin/winmouse.c index 6af887826..efd1fb649 100644 --- a/xorg-server/hw/xwin/winmouse.c +++ b/xorg-server/hw/xwin/winmouse.c @@ -368,8 +368,10 @@ void winEnqueueMotion(int x, int y) { int valuators[2]; ValuatorMask mask; + double dbl_x=(double)x; + double dbl_y=(double)y; - miPointerSetPosition(g_pwinPointer, POINTER_RELATIVE, &x, &y); + miPointerSetPosition(g_pwinPointer, Absolute, &dbl_x, &dbl_y); valuators[0] = x; valuators[1] = y; -- cgit v1.2.3