From 3c45b59e675ba926ec95842ac3d49e2091e41eb8 Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Fri, 18 Mar 2011 15:00:14 +0000 Subject: [PATCH] Fix XWin compilation after commit 769531b9 commit 769531b9 "Add mode field to pointer movement hooks" changes the function signature of miPointerSetPosition() to include the movement mode which resulted in the pointer position Update use of miPointerSetPosition() in winEnqueueMotion() appropriately (See http://tinderbox.freedesktop.org/builds/2011-03-16-0008/logs/xserver/#build) Signed-off-by: Jon TURNEY Reviewed-by: Peter Hutterer --- hw/xwin/winmouse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xwin/winmouse.c b/hw/xwin/winmouse.c index ee93d8f02..080e09626 100644 --- a/hw/xwin/winmouse.c +++ b/hw/xwin/winmouse.c @@ -372,7 +372,7 @@ void winEnqueueMotion(int x, int y) ValuatorMask mask; EventListPtr events; - miPointerSetPosition(g_pwinPointer, &x, &y); + miPointerSetPosition(g_pwinPointer, POINTER_RELATIVE, &x, &y); valuators[0] = x; valuators[1] = y;