mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 00:51:47 +00:00
Add a roundtrip after creating the xdg-surface
The specification says we must not attach a buffer until we’ve received a configure event.
This commit is contained in:
parent
4778d02c67
commit
f2617a671f
@ -420,6 +420,7 @@ static GLFWbool createXdgSurface(_GLFWwindow* window)
|
||||
}
|
||||
|
||||
wl_surface_commit(window->wl.surface);
|
||||
wl_display_roundtrip(_glfw.wl.display);
|
||||
|
||||
return GLFW_TRUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user