summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/config.c b/config/config.c
index de45cc350..1fb368c12 100644
--- a/config/config.c
+++ b/config/config.c
@@ -86,10 +86,10 @@ remove_device(const char *backend, DeviceIntPtr dev)
/* Call PIE here so we don't try to dereference a device that's
* already been removed. */
- OsBlockSignals();
+ input_lock();
ProcessInputEvents();
DeleteInputDeviceRequest(dev);
- OsReleaseSignals();
+ input_unlock();
}
void