mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
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 <jon.turney@dronecode.org.uk>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user