mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-27 03:42:49 +00:00
Wayland: dont abort the event handler early if there are no pending events from the compositor. This ensures that the tick callback and other event sources are dispatched.
This commit is contained in:
parent
b8041ce17f
commit
38f77144fa
1 changed files with 0 additions and 1 deletions
1
glfw/wl_window.c
vendored
1
glfw/wl_window.c
vendored
|
|
@ -752,7 +752,6 @@ handleEvents(double timeout)
|
|||
while(1) {
|
||||
errno = 0;
|
||||
int num_dispatched = wl_display_dispatch_pending(display);
|
||||
if (num_dispatched == 0) return;
|
||||
if (num_dispatched < 0) {
|
||||
if (errno == EAGAIN) continue;
|
||||
int last_error = wl_display_get_error(display);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue