aboutsummaryrefslogtreecommitdiff
path: root/src/evdev.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@redhat.com>2008-10-14 16:12:13 +1030
committerPeter Hutterer <peter.hutterer@redhat.com>2008-10-14 17:18:07 +1030
commit7da15223097a13fc8dac68a18a40342d5070bfa3 (patch)
treeca458c563451c6d2d8c9a7fa65750a40ab583ba3 /src/evdev.c
parentClean up program flow - don't call PreInit for "modules" on DEVICE_INIT. (diff)
downloadxf86-input-evdev-7da15223097a13fc8dac68a18a40342d5070bfa3.tar.gz
xf86-input-evdev-7da15223097a13fc8dac68a18a40342d5070bfa3.tar.bz2
xf86-input-evdev-7da15223097a13fc8dac68a18a40342d5070bfa3.zip
Register property handler from within the modules, not the main evdev file.
(cherry picked from commit cefedeb205291001e7e47b7516de261dbccce059)
Diffstat (limited to 'src/evdev.c')
-rw-r--r--src/evdev.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/evdev.c b/src/evdev.c
index 6d05b07..b1470a3 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -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);