summaryrefslogtreecommitdiff
path: root/src/draglock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/draglock.c')
-rw-r--r--src/draglock.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/draglock.c b/src/draglock.c
index 894aa8a..e1f037a 100644
--- a/src/draglock.c
+++ b/src/draglock.c
@@ -53,7 +53,7 @@ void EvdevDragLockLockButton(InputInfoPtr pInfo, unsigned int button);
/* Setup and configuration code */
void
-EvdevDragLockInit(InputInfoPtr pInfo)
+EvdevDragLockPreInit(InputInfoPtr pInfo)
{
EvdevPtr pEvdev = (EvdevPtr)pInfo->private;
char *option_string = NULL;
@@ -247,8 +247,6 @@ EvdevDragLockInitProperty(DeviceIntPtr dev)
XISetDevicePropertyDeletable(dev, prop_dlock, FALSE);
XIRegisterPropertyHandler(dev, EvdevDragLockSetProperty, NULL, NULL);
-
- return;
}
/**