diff options
author | Daniel Stone <daniel@fooishbar.org> | 2006-10-25 01:09:19 +0300 |
---|---|---|
committer | Daniel Stone <daniels@endtroducing.fooishbar.org> | 2006-10-25 01:09:19 +0300 |
commit | b9e180e632d04bf685ade9e32bd0b20882794486 (patch) | |
tree | ce97ef1db9fd1a0f84c48cc75934e63601cc6fb0 /hw/xnest | |
parent | 5b38eb69cdaa154791c7f74e35dbe4d3256b19bd (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/xnest')
-rw-r--r-- | hw/xnest/Pointer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xnest/Pointer.c b/hw/xnest/Pointer.c index b5e45db12..912b6fa21 100644 --- a/hw/xnest/Pointer.c +++ b/hw/xnest/Pointer.c @@ -57,9 +57,9 @@ xnestPointerProc(DeviceIntPtr pDev, int onoff) for (i = 0; i <= nmap; i++) map[i] = i; /* buttons are already mapped */ InitPointerDeviceStruct(&pDev->public, map, nmap, - miPointerGetMotionEvents, + GetMotionHistory, xnestChangePointerControl, - miPointerGetMotionBufferSize(), 2); + GetMotionHistorySize(), 2); break; case DEVICE_ON: xnestEventMask |= XNEST_POINTER_EVENT_MASK; |