aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKirill Primak <vyivel@eclair.cafe>2023-08-26 19:25:34 +0300
committerSimon Zeni <simon@bl4ckb0ne.ca>2023-10-02 18:37:09 +0000
commit0fdbdc36c05fb2811a8b7bc5a69e4d104287cff7 (patch)
tree9d0f6aa44cef423f7dcbefe12dcfe1562231f0fa /include
parent016494af1b62ed60e33d98835add6b11da86217e (diff)
xdg-surface: fix init state flow
Fixes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3677
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_xdg_shell.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/wlr/types/wlr_xdg_shell.h b/include/wlr/types/wlr_xdg_shell.h
index 1b15bfe4..8c1bda05 100644
--- a/include/wlr/types/wlr_xdg_shell.h
+++ b/include/wlr/types/wlr_xdg_shell.h
@@ -166,7 +166,6 @@ struct wlr_xdg_toplevel_requested {
struct wlr_xdg_toplevel {
struct wl_resource *resource;
struct wlr_xdg_surface *base;
- bool sent_initial_configure;
struct wlr_xdg_toplevel *parent;
struct wl_listener parent_unmap;
@@ -257,6 +256,9 @@ struct wlr_xdg_surface {
struct wlr_xdg_surface_state current, pending;
+ bool initialized;
+ bool initial_commit;
+
struct {
struct wl_signal destroy;
struct wl_signal ping_timeout;