summaryrefslogtreecommitdiff
path: root/xserver/dix/devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'xserver/dix/devices.c')
-rw-r--r--xserver/dix/devices.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xserver/dix/devices.c b/xserver/dix/devices.c
index 2d4ac8bce..3a9063bf6 100644
--- a/xserver/dix/devices.c
+++ b/xserver/dix/devices.c
@@ -982,6 +982,8 @@ CloseDownDevices(void)
{
DeviceIntPtr dev;
+ OsBlockSignals();
+
/* Float all SDs before closing them. Note that at this point resources
* (e.g. cursors) have been freed already, so we can't just call
* AttachDevice(NULL, dev, NULL). Instead, we have to forcibly set master
@@ -1004,6 +1006,8 @@ CloseDownDevices(void)
inputInfo.keyboard = NULL;
inputInfo.pointer = NULL;
XkbDeleteRulesDflts();
+
+ OsReleaseSignals();
}
/**