Xvfb: port to new mieq API
This commit is contained in:
parent
bf4df9b73f
commit
cd3b16a57e
|
@ -293,7 +293,7 @@ vfbMouseProc(DeviceIntPtr pDevice, int onoff)
|
||||||
map[2] = 2;
|
map[2] = 2;
|
||||||
map[3] = 3;
|
map[3] = 3;
|
||||||
InitPointerDeviceStruct(pDev, map, 3, miPointerGetMotionEvents,
|
InitPointerDeviceStruct(pDev, map, 3, miPointerGetMotionEvents,
|
||||||
(PtrCtrlProcPtr)NoopDDA, miPointerGetMotionBufferSize());
|
(PtrCtrlProcPtr)NoopDDA, miPointerGetMotionBufferSize(), 2);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case DEVICE_ON:
|
case DEVICE_ON:
|
||||||
|
@ -318,6 +318,5 @@ InitInput(int argc, char *argv[])
|
||||||
k = AddInputDevice(vfbKeybdProc, TRUE);
|
k = AddInputDevice(vfbKeybdProc, TRUE);
|
||||||
RegisterPointerDevice(p);
|
RegisterPointerDevice(p);
|
||||||
RegisterKeyboardDevice(k);
|
RegisterKeyboardDevice(k);
|
||||||
miRegisterPointerDevice(screenInfo.screens[0], p);
|
(void)mieqInit();
|
||||||
(void)mieqInit ((DevicePtr) k, (DevicePtr) p);
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user