mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-05 15:41:39 +02:00
Wayland backend: Dont roundtrip to the server just to wakeup the main loop
This commit is contained in:
1
glfw/wl_window.c
vendored
1
glfw/wl_window.c
vendored
@@ -1393,7 +1393,6 @@ void _glfwPlatformWaitEventsTimeout(double timeout)
|
||||
|
||||
void _glfwPlatformPostEmptyEvent(void)
|
||||
{
|
||||
wl_display_sync(_glfw.wl.display);
|
||||
while (write(_glfw.wl.eventLoopData.wakeupFds[1], "w", 1) < 0 && errno == EINTR);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user