mirror of
https://github.com/X11Libre/xf86-input-evdev.git
synced 2026-04-14 11:44:16 +00:00
Rename DragLockInit to DragLockPreInit, remove superfluous "return".
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -1359,7 +1359,7 @@ EvdevPreInit(InputDriverPtr drv, IDevPtr dev, int flags)
|
||||
|
||||
EvdevMBEmuPreInit(pInfo);
|
||||
EvdevWheelEmuPreInit(pInfo);
|
||||
EvdevDragLockInit(pInfo);
|
||||
EvdevDragLockPreInit(pInfo);
|
||||
|
||||
return pInfo;
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user