We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f1e15b commit f09aa9fCopy full SHA for f09aa9f
src/xvevent.c
@@ -190,7 +190,9 @@ int EventLoop(void)
190
sleep(1);
191
else {
192
/* less than one second remaining: do delay in msec, then return */
193
- Timer((remaining_interval * 1000L) / clock_ticks); /* can't overflow */
+ if (remaining_interval > 0) {
194
+ Timer((remaining_interval * 1000L) / clock_ticks); /* can't overflow */
195
+ }
196
return waitloop? NEXTLOOP : NEXTQUIT;
197
}
198
#else
0 commit comments