Wayland: Fix infinite loop if the compositor dies
This commit is contained in:
parent
00575733c8
commit
b8041ce17f
2
glfw/wl_window.c
vendored
2
glfw/wl_window.c
vendored
@ -738,6 +738,8 @@ abortOnFatalError(int last_error) {
|
|||||||
_glfwInputWindowCloseRequest(window);
|
_glfwInputWindowCloseRequest(window);
|
||||||
window = window->next;
|
window = window->next;
|
||||||
}
|
}
|
||||||
|
// ensure the tick callback is called
|
||||||
|
_glfw.wl.eventLoopData.wakeup_data_read = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user