mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
calmwm: replace INFTIM with -1
This commit is contained in:
parent
63ebc0cd8b
commit
c6745ee21c
2
calmwm.c
2
calmwm.c
@ -130,7 +130,7 @@ main(int argc, char **argv)
|
|||||||
pfd[0].events = POLLIN;
|
pfd[0].events = POLLIN;
|
||||||
while (cwm_status == CWM_RUNNING) {
|
while (cwm_status == CWM_RUNNING) {
|
||||||
xev_process();
|
xev_process();
|
||||||
if (poll(pfd, 1, INFTIM) == -1) {
|
if (poll(pfd, 1, -1) == -1) {
|
||||||
if (errno != EINTR)
|
if (errno != EINTR)
|
||||||
warn("poll");
|
warn("poll");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user