mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-09 23:54:20 +02:00
Process events when timeout is zero
This commit is contained in:
@@ -631,7 +631,7 @@ swap_window_buffers(OSWindow *w) {
|
||||
void
|
||||
event_loop_wait(double timeout) {
|
||||
if (timeout < 0) glfwWaitEvents();
|
||||
else if (timeout > 0) glfwWaitEventsTimeout(timeout);
|
||||
else if (timeout >= 0) glfwWaitEventsTimeout(timeout);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user