aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calmwm.c2
1 files changed, 1 insertions, 1 deletions
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");
}