aboutsummaryrefslogtreecommitdiffstats
path: root/dwmblocks.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dwmblocks.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dwmblocks.c b/dwmblocks.c
index fb56d95..c2e1477 100644
--- a/dwmblocks.c
+++ b/dwmblocks.c
@@ -185,9 +185,9 @@ void setroot()
{
/* block all signals until after root updated */
sigset_t new, old;
- sigfillset(&new);
- sigdelset(&new, SIGINT);
- sigdelset(&new, SIGTERM);
+ for (unsigned int i = SIGRTMIN; i <= SIGRTMAX; i++) {
+ sigaddset(&new, i);
+ }
if (sigprocmask(SIG_SETMASK, &new, &old) < 0) {
perror("sigset");