summaryrefslogtreecommitdiff
path: root/src/draglock.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@redhat.com>2008-10-14 16:14:13 +1030
committerPeter Hutterer <peter.hutterer@redhat.com>2008-10-14 16:14:13 +1030
commit088e0a175a4913bf827c1f7e19de09fdf987d347 (patch)
treecb8cf1bf4171bacc96670dba80a0934ce41c8a36 /src/draglock.c
parentcefedeb205291001e7e47b7516de261dbccce059 (diff)
Rename DragLockInit to DragLockPreInit, remove superfluous "return".
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;
}
/**