Cancel read if dispatch_pending fails
This commit is contained in:
parent
38f77144fa
commit
4096caba64
1
glfw/wl_window.c
vendored
1
glfw/wl_window.c
vendored
@ -756,6 +756,7 @@ handleEvents(double timeout)
|
||||
if (errno == EAGAIN) continue;
|
||||
int last_error = wl_display_get_error(display);
|
||||
if (last_error) abortOnFatalError(last_error);
|
||||
wl_display_cancel_read(display);
|
||||
return;
|
||||
}
|
||||
break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user