summaryrefslogtreecommitdiff
path: root/hw/xwin/winmouse.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xwin/winmouse.c')
-rw-r--r--hw/xwin/winmouse.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/xwin/winmouse.c b/hw/xwin/winmouse.c
index f0092e9a8..1507dd34f 100644
--- a/hw/xwin/winmouse.c
+++ b/hw/xwin/winmouse.c
@@ -100,9 +100,10 @@ winMouseProc (DeviceIntPtr pDeviceInt, int iState)
InitPointerDeviceStruct (pDevice,
map,
lngMouseButtons + lngWheelEvents,
- miPointerGetMotionEvents,
+ GetMotionHistory,
winMouseCtrl,
- miPointerGetMotionBufferSize ());
+ GetMotionHistorySize(),
+ 2);
free(map);
#if defined(XFree86Server) && defined(XINPUT)