diff options
author | Daniel Stone <daniel@fooishbar.org> | 2006-10-23 02:51:13 +0300 |
---|---|---|
committer | Daniel Stone <daniels@endtroducing.fooishbar.org> | 2006-10-23 02:51:13 +0300 |
commit | cd3b16a57efaf89108054f18a94c91e2dd74fafa (patch) | |
tree | 95919bfef0186b04f20f54f3ddb193867818ea11 | |
parent | bf4df9b73f0c1a84093aaf9a2e2cbc56fb341c60 (diff) |
Xvfb: port to new mieq API
-rw-r--r-- | hw/vfb/InitInput.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/hw/vfb/InitInput.c b/hw/vfb/InitInput.c index 17e023a57..c0bfb5543 100644 --- a/hw/vfb/InitInput.c +++ b/hw/vfb/InitInput.c @@ -293,7 +293,7 @@ vfbMouseProc(DeviceIntPtr pDevice, int onoff) map[2] = 2; map[3] = 3; InitPointerDeviceStruct(pDev, map, 3, miPointerGetMotionEvents, - (PtrCtrlProcPtr)NoopDDA, miPointerGetMotionBufferSize()); + (PtrCtrlProcPtr)NoopDDA, miPointerGetMotionBufferSize(), 2); break; case DEVICE_ON: @@ -318,6 +318,5 @@ InitInput(int argc, char *argv[]) k = AddInputDevice(vfbKeybdProc, TRUE); RegisterPointerDevice(p); RegisterKeyboardDevice(k); - miRegisterPointerDevice(screenInfo.screens[0], p); - (void)mieqInit ((DevicePtr) k, (DevicePtr) p); + (void)mieqInit(); } |