summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Harrison <colin.harrison-at-virgin.net>2007-05-09 16:54:46 +0100
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2007-05-09 16:54:46 +0100
commitd3248b66a650c6c629cd66240e25004869217d2e (patch)
treea7e44141724dd677f8d2c10cb9d16dd65d4937cc
parent021e5df85d7c9373a2fed55512751d16e08128db (diff)
Migrate some code to the new mi apis
-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)