summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kdesktop/lock/main.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/kdesktop/lock/main.cc b/kdesktop/lock/main.cc
index 4960b8d01..114ce7ef0 100644
--- a/kdesktop/lock/main.cc
+++ b/kdesktop/lock/main.cc
@@ -243,6 +243,7 @@ int main( int argc, char **argv )
sigset_t orig_mask;
// Block reception of all signals in this thread
+ sigfillset(&new_mask);
sigprocmask(SIG_BLOCK, &new_mask, NULL);
signalled_forcelock = FALSE;