summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/xserver.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xserver.cpp b/src/xserver.cpp
index 0c8f342..ad018a1 100644
--- a/src/xserver.cpp
+++ b/src/xserver.cpp
@@ -489,6 +489,10 @@ void xorg::testing::XServer::Start(const std::string &program) {
sigaddset(&sig_mask, SIGUSR1);
sigprocmask(SIG_UNBLOCK, &sig_mask, NULL);
+ /* Ignore SIGUSR1, it's triggered on server regeneration. Tests that need
+ * to handle SIGUSR1 will have to install their own signal handler anyways */
+ signal(SIGUSR1 ,SIG_IGN);
+
RegisterXIOErrorHandler();
}