aboutsummaryrefslogtreecommitdiff
path: root/include/backend/wayland.h
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-08-16 22:09:01 +0200
committerSimon Ser <contact@emersion.fr>2023-08-16 22:09:01 +0200
commit22b6581a18c7b3cf10fbbc8f94c01eeffd4293f7 (patch)
tree0be2020aaa81d90133b8aa5b5152a69b9f2748b1 /include/backend/wayland.h
parentd3d3e19ffddccd1cf3c48a7076714fe10ba0c172 (diff)
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.
Diffstat (limited to 'include/backend/wayland.h')
-rw-r--r--include/backend/wayland.h1
1 files changed, 1 insertions, 0 deletions
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 {