From 6cdd6f7ff254cbeff1d94f404772384909648b0f Mon Sep 17 00:00:00 2001 From: Utkarsh Verma Date: Fri, 22 Apr 2022 06:19:39 +0530 Subject: [PATCH] Fix crashing of dwmblocks --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 97ea568..f70522b 100644 --- a/main.c +++ b/main.c @@ -239,7 +239,7 @@ void setupSignals() { void statusLoop() { // Update all blocks initially - kill(0, SIGALRM); + raise(SIGALRM); struct epoll_event events[LEN(blocks) + 1]; while (statusContinue) {