wayland: Consistently use errno for errors
This commit is contained in:
parent
083b294659
commit
ca7cab1a2d
2
glfw/wl_window.c
vendored
2
glfw/wl_window.c
vendored
@ -763,7 +763,7 @@ handleEvents(monotonic_t timeout)
|
||||
|
||||
while (wl_display_prepare_read(display) != 0) {
|
||||
if (wl_display_dispatch_pending(display) == -1) {
|
||||
abortOnFatalError(wl_display_get_error(display));
|
||||
abortOnFatalError(errno);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user