mirror of
https://github.com/X11Libre/xf86-input-evdev.git
synced 2026-03-27 19:18:29 +00:00
Register property handler from within the modules, not the main evdev file.
This commit is contained in:
@@ -950,9 +950,6 @@ EvdevInit(DeviceIntPtr device)
|
||||
/* We drop the return value, the only time we ever want the handlers to
|
||||
* unregister is when the device dies. In which case we don't have to
|
||||
* unregister anyway */
|
||||
XIRegisterPropertyHandler(device, EvdevMBEmuSetProperty, NULL, NULL);
|
||||
XIRegisterPropertyHandler(device, EvdevWheelEmuSetProperty, NULL, NULL);
|
||||
XIRegisterPropertyHandler(device, EvdevDragLockSetProperty, NULL, NULL);
|
||||
XIRegisterPropertyHandler(device, EvdevSetProperty, NULL, NULL);
|
||||
EvdevInitProperty(device);
|
||||
EvdevMBEmuInitProperty(device);
|
||||
|
||||
Reference in New Issue
Block a user