aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dwmblocks.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dwmblocks.c b/dwmblocks.c
index 68267d7..18f58fb 100644
--- a/dwmblocks.c
+++ b/dwmblocks.c
@@ -111,6 +111,10 @@ void getsigcmds(int signal)
void setupsignals()
{
struct sigaction sa;
+
+ for(int i = SIGRTMIN; i <= SIGRTMAX; i++)
+ signal(i, SIG_IGN);
+
for(int i = 0; i < LENGTH(blocks); i++)
{
if (blocks[i].signal > 0)