From 5418e51f221e27a39944327eaed149e45d8227aa Mon Sep 17 00:00:00 2001 From: Wynn Wolf Arbor Date: Thu, 11 Jun 2020 19:04:16 +0200 Subject: Replace INFTIM with -1 --- calmwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calmwm.c b/calmwm.c index 64adb8c..9953172 100644 --- a/calmwm.c +++ b/calmwm.c @@ -120,7 +120,7 @@ main(int argc, char **argv) pfd[0].events = POLLIN; while (cwm_status == CWM_RUNNING) { xev_process(); - if (poll(pfd, 1, INFTIM) == -1) { + if (poll(pfd, 1, -1) == -1) { if (errno != EINTR) warn("poll"); } -- cgit v1.2.3-2-gb3c3