Revert "xfree86: suspend signals while removing a device."
Left the signals blocked hanging after removing a master device.
This reverts commit 74372fd004
.
This commit is contained in:
parent
5ba07cb548
commit
95ecaa411a
|
@ -475,7 +475,6 @@ DeleteInputDeviceRequest(DeviceIntPtr pDev)
|
||||||
drv = pInfo->drv;
|
drv = pInfo->drv;
|
||||||
idev = pInfo->conf_idev;
|
idev = pInfo->conf_idev;
|
||||||
}
|
}
|
||||||
OsBlockSignals();
|
|
||||||
RemoveDevice(pDev);
|
RemoveDevice(pDev);
|
||||||
|
|
||||||
if (pDev->isMaster)
|
if (pDev->isMaster)
|
||||||
|
@ -485,7 +484,6 @@ DeleteInputDeviceRequest(DeviceIntPtr pDev)
|
||||||
drv->UnInit(drv, pInfo, 0);
|
drv->UnInit(drv, pInfo, 0);
|
||||||
else
|
else
|
||||||
xf86DeleteInput(pInfo, 0);
|
xf86DeleteInput(pInfo, 0);
|
||||||
OsReleaseSignals();
|
|
||||||
|
|
||||||
/* devices added through HAL aren't in the config layout */
|
/* devices added through HAL aren't in the config layout */
|
||||||
it = xf86ConfigLayout.inputs;
|
it = xf86ConfigLayout.inputs;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user