input: Remove xf86ReloadInputDevs hack
We have input hotplug now, no need to fake it.
This commit is contained in:
parent
3311ef6ec9
commit
7d94414cf4
|
@ -770,23 +770,6 @@ xf86EnableVTSwitch(Bool new)
|
|||
return old;
|
||||
}
|
||||
|
||||
void
|
||||
xf86ReloadInputDevs(int sig)
|
||||
{
|
||||
InputInfoPtr pInfo;
|
||||
|
||||
signal(sig, (void(*)(int))xf86ReloadInputDevs);
|
||||
|
||||
pInfo = xf86InputDevs;
|
||||
while (pInfo) {
|
||||
DisableDevice(pInfo->dev);
|
||||
EnableDevice(pInfo->dev);
|
||||
pInfo = pInfo->next;
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
void
|
||||
DDXRingBell(int volume, int pitch, int duration) {
|
||||
xf86OSRingBell(volume, pitch, duration);
|
||||
|
|
|
@ -286,7 +286,6 @@ xf86OpenConsole(void)
|
|||
} else { /* ShareVTs */
|
||||
close(xf86Info.consoleFd);
|
||||
}
|
||||
signal(SIGUSR2, xf86ReloadInputDevs);
|
||||
} else { /* serverGeneration != 1 */
|
||||
if (!ShareVTs && VTSwitch)
|
||||
{
|
||||
|
|
|
@ -212,7 +212,6 @@ extern _X_EXPORT Bool xf86VTSwitchTo(void);
|
|||
extern _X_EXPORT void xf86VTRequest(int sig);
|
||||
extern _X_EXPORT int xf86ProcessArgument(int, char **, int);
|
||||
extern _X_EXPORT void xf86UseMsg(void);
|
||||
extern _X_EXPORT void xf86ReloadInputDevs(int sig);
|
||||
extern _X_EXPORT PMClose xf86OSPMOpen(void);
|
||||
|
||||
#ifdef NEED_OS_RAC_PROTOS
|
||||
|
|
Loading…
Reference in New Issue
Block a user