backend/wayland: wait for xdg_surface.configure explicitly

We were assuming a roundtrip was enough to get an
xdg_surface.configure event. That's not the case, the protocol
spec doesn't make such a guarantee.
This commit is contained in:
Simon Ser 2023-08-16 22:09:01 +02:00
parent d3d3e19ffd
commit 22b6581a18
2 changed files with 10 additions and 1 deletions

View file

@ -91,6 +91,7 @@ struct wlr_wl_output {
struct zxdg_toplevel_decoration_v1 *zxdg_toplevel_decoration_v1;
struct wl_list presentation_feedbacks;
bool configured;
uint32_t enter_serial;
struct {