Commit f2617a67 authored by Emmanuel Gil Peyrot's avatar Emmanuel Gil Peyrot Committed by linkmauve
Browse files

Add a roundtrip after creating the xdg-surface

The specification says we must not attach a buffer until we’ve received
a configure event.
parent 4778d02c
......@@ -420,6 +420,7 @@ static GLFWbool createXdgSurface(_GLFWwindow* window)
}
wl_surface_commit(window->wl.surface);
wl_display_roundtrip(_glfw.wl.display);
return GLFW_TRUE;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment