Wayland backend: Dont roundtrip to the server just to wakeup the main loop
This commit is contained in:
parent
379ec88776
commit
8b47e63136
1 changed files with 0 additions and 1 deletions
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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue