diff options
author | Kirill Primak <vyivel@eclair.cafe> | 2023-10-14 19:58:26 +0300 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-10-26 14:57:10 +0000 |
commit | d8515b3446dd406e7a995ae2776bc2e4717ca362 (patch) | |
tree | 6c03f31f0f31727a107c7874addfe8177b9334d5 /include | |
parent | f750c7445d37e58749e6d4ce7b4ce587f2231cc6 (diff) |
layer-shell: track surface init state
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/types/wlr_layer_shell_v1.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_layer_shell_v1.h b/include/wlr/types/wlr_layer_shell_v1.h index 637db34a..df2107c5 100644 --- a/include/wlr/types/wlr_layer_shell_v1.h +++ b/include/wlr/types/wlr_layer_shell_v1.h @@ -88,6 +88,11 @@ struct wlr_layer_surface_v1 { struct wlr_layer_surface_v1_state current, pending; + // Whether the surface is ready to receive configure events + bool initialized; + // Whether the latest commit is an initial commit + bool initial_commit; + struct { /** * The destroy signal indicates that the struct wlr_layer_surface is |