summary refs log tree commit diff
path: root/calmwm.c
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2018-02-09 20:11:41 +0100
committerLeah Neukirchen <leah@vuxu.org>2018-02-09 20:11:41 +0100
commitc6745ee21cabbdad5791494bb1d0a754ee264c39 (patch)
tree955ed5b280dcf28450d7c4ac69669065d2650f10 /calmwm.c
parent63ebc0cd8b65300104929d3463fed431996f4374 (diff)
downloadcwm-c6745ee21cabbdad5791494bb1d0a754ee264c39.tar.gz
cwm-c6745ee21cabbdad5791494bb1d0a754ee264c39.tar.xz
cwm-c6745ee21cabbdad5791494bb1d0a754ee264c39.zip
calmwm: replace INFTIM with -1
Diffstat (limited to 'calmwm.c')
-rw-r--r--calmwm.c2
1 files changed, 1 insertions, 1 deletions
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");
 		}