From b9e180e632d04bf685ade9e32bd0b20882794486 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Wed, 25 Oct 2006 01:09:19 +0300 Subject: port all users to the new DIX motion history API Port KDrive, Xvfb, and Xnest, as well as the virtual core devices, to the new motion history API. Make GetPointerEvents also update the history. --- hw/vfb/InitInput.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hw/vfb') diff --git a/hw/vfb/InitInput.c b/hw/vfb/InitInput.c index c0bfb5543..9cb1c02cb 100644 --- a/hw/vfb/InitInput.c +++ b/hw/vfb/InitInput.c @@ -292,8 +292,8 @@ vfbMouseProc(DeviceIntPtr pDevice, int onoff) map[1] = 1; map[2] = 2; map[3] = 3; - InitPointerDeviceStruct(pDev, map, 3, miPointerGetMotionEvents, - (PtrCtrlProcPtr)NoopDDA, miPointerGetMotionBufferSize(), 2); + InitPointerDeviceStruct(pDev, map, 3, GetMotionHistory, + (PtrCtrlProcPtr)NoopDDA, GetMotionHistorySize(), 2); break; case DEVICE_ON: -- cgit v1.2.3