aboutsummaryrefslogtreecommitdiff
path: root/dwmblocks.c
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2021-02-19 16:51:31 -0500
committerLuke Smith <luke@lukesmith.xyz>2021-02-19 16:51:31 -0500
commit141e5f45ed793a8a133b2d40d99f11e127a73bb7 (patch)
tree1762fe6005cb73e5db98653ea1e21d149cbbfec4 /dwmblocks.c
parent7e675aab544fa63256e295dbf997527e96afdfba (diff)
parent2569bdb430348755490cdfb43f5ef092a44234e1 (diff)
downloaddwmblocks-141e5f45ed793a8a133b2d40d99f11e127a73bb7.tar.gz
dwmblocks-141e5f45ed793a8a133b2d40d99f11e127a73bb7.tar.bz2
dwmblocks-141e5f45ed793a8a133b2d40d99f11e127a73bb7.zip
Merge branch 'noocsharp-master'
Diffstat (limited to 'dwmblocks.c')
-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)