From 22b6581a18c7b3cf10fbbc8f94c01eeffd4293f7 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 16 Aug 2023 22:09:01 +0200 Subject: 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. --- include/backend/wayland.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/backend') diff --git a/include/backend/wayland.h b/include/backend/wayland.h index 938e3cf7..ad04c348 100644 --- a/include/backend/wayland.h +++ b/include/backend/wayland.h @@ -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 { -- cgit v1.2.3