From c6745ee21cabbdad5791494bb1d0a754ee264c39 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Fri, 9 Feb 2018 20:11:41 +0100 Subject: [PATCH] calmwm: replace INFTIM with -1 --- calmwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calmwm.c b/calmwm.c index 51b6a87..11d8eeb 100644 --- a/calmwm.c +++ b/calmwm.c @@ -130,7 +130,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"); }