summaryrefslogtreecommitdiff
path: root/hw/xnest/Pointer.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-10-23 02:52:35 +0300
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-10-23 02:52:35 +0300
commit2f33f4065d89ae2b6fdda43c7105d72f89920cae (patch)
treede4172bbe6cbffb3e91d48fce191bbd99b189984 /hw/xnest/Pointer.c
parent08928afb0500d46b0caa0a1d1244dee2ed80e6a0 (diff)
Xnest: port to new input API
Port Xnest to Get{Pointer,Keyboard}Events, plus the new mieq API.
Diffstat (limited to 'hw/xnest/Pointer.c')
-rw-r--r--hw/xnest/Pointer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xnest/Pointer.c b/hw/xnest/Pointer.c
index 454449732..b5e45db12 100644
--- a/hw/xnest/Pointer.c
+++ b/hw/xnest/Pointer.c
@@ -59,7 +59,7 @@ xnestPointerProc(DeviceIntPtr pDev, int onoff)
InitPointerDeviceStruct(&pDev->public, map, nmap,
miPointerGetMotionEvents,
xnestChangePointerControl,
- miPointerGetMotionBufferSize());
+ miPointerGetMotionBufferSize(), 2);
break;
case DEVICE_ON:
xnestEventMask |= XNEST_POINTER_EVENT_MASK;