Skip to content

Commit 8b47e63

Browse files
committed
Wayland backend: Dont roundtrip to the server just to wakeup the main loop
1 parent 379ec88 commit 8b47e63

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

glfw/wl_window.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1393,7 +1393,6 @@ void _glfwPlatformWaitEventsTimeout(double timeout)
13931393

13941394
void _glfwPlatformPostEmptyEvent(void)
13951395
{
1396-
wl_display_sync(_glfw.wl.display);
13971396
while (write(_glfw.wl.eventLoopData.wakeupFds[1], "w", 1) < 0 && errno == EINTR);
13981397
}
13991398

0 commit comments

Comments
 (0)