From d8515b3446dd406e7a995ae2776bc2e4717ca362 Mon Sep 17 00:00:00 2001 From: Kirill Primak Date: Sat, 14 Oct 2023 19:58:26 +0300 Subject: layer-shell: track surface init state --- include/wlr/types/wlr_layer_shell_v1.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') 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 -- cgit v1.2.3