layer-shell: track surface init state

This commit is contained in:
Kirill Primak 2023-10-14 19:58:26 +03:00 committed by Simon Ser
parent f750c7445d
commit d8515b3446
2 changed files with 17 additions and 0 deletions

View file

@ -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