Fix crashing of dwmblocks

This commit is contained in:
Utkarsh Verma 2022-04-22 06:19:39 +05:30
parent 09e72e590d
commit 6cdd6f7ff2
No known key found for this signature in database
GPG Key ID: 817656CF818EFCCC
1 changed files with 1 additions and 1 deletions

2
main.c
View File

@ -239,7 +239,7 @@ void setupSignals() {
void statusLoop() { void statusLoop() {
// Update all blocks initially // Update all blocks initially
kill(0, SIGALRM); raise(SIGALRM);
struct epoll_event events[LEN(blocks) + 1]; struct epoll_event events[LEN(blocks) + 1];
while (statusContinue) { while (statusContinue) {