summaryrefslogtreecommitdiff
path: root/hw/vfb
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-10-25 01:09:19 +0300
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-10-25 01:09:19 +0300
commitb9e180e632d04bf685ade9e32bd0b20882794486 (patch)
treece97ef1db9fd1a0f84c48cc75934e63601cc6fb0 /hw/vfb
parent5b38eb69cdaa154791c7f74e35dbe4d3256b19bd (diff)
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.
Diffstat (limited to 'hw/vfb')
-rw-r--r--hw/vfb/InitInput.c4
1 files changed, 2 insertions, 2 deletions
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: