From cd3b16a57efaf89108054f18a94c91e2dd74fafa Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Mon, 23 Oct 2006 02:51:13 +0300 Subject: [PATCH] Xvfb: port to new mieq API --- hw/vfb/InitInput.c | 5 ++--- 1 file 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(); }