Rename DragLockInit to DragLockPreInit, remove superfluous "return".

This commit is contained in:
Peter Hutterer
2008-10-14 16:14:13 +10:30
parent cefedeb205
commit 088e0a175a
3 changed files with 3 additions and 5 deletions

View File

@@ -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;
}
/**

View File

@@ -1359,7 +1359,7 @@ EvdevPreInit(InputDriverPtr drv, IDevPtr dev, int flags)
EvdevMBEmuPreInit(pInfo);
EvdevWheelEmuPreInit(pInfo);
EvdevDragLockInit(pInfo);
EvdevDragLockPreInit(pInfo);
return pInfo;
}

View File

@@ -148,6 +148,6 @@ BOOL EvdevWheelEmuFilterButton(InputInfoPtr pInfo, unsigned int button, int valu
BOOL EvdevWheelEmuFilterMotion(InputInfoPtr pInfo, struct input_event *pEv);
/* Draglock code */
void EvdevDragLockInit(InputInfoPtr pInfo);
void EvdevDragLockPreInit(InputInfoPtr pInfo);
BOOL EvdevDragLockFilterEvent(InputInfoPtr pInfo, unsigned int button, int value);
#endif