mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-22 18:28:52 -05: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