summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/WaitFor.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/os/WaitFor.c b/os/WaitFor.c
index fa6a99b18..7c7b1d2d4 100644
--- a/os/WaitFor.c
+++ b/os/WaitFor.c
@@ -193,10 +193,9 @@ WaitForSomething(Bool are_ready)
are_ready = clients_are_ready();
}
+ timeout = check_timers();
if (are_ready)
timeout = 0;
- else
- timeout = check_timers();
BlockHandler(&timeout);
if (NewOutputPending)