aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Primak <vyivel@eclair.cafe>2023-07-26 23:10:40 +0300
committerSimon Ser <contact@emersion.fr>2023-07-26 20:39:03 +0000
commit42a5b6f62a343a8d30551067e105d99201589394 (patch)
treebe785bd1de9c429a976039f864313b9288c626fa
parent7df11ada5e454e71bc85053912515cb19ed3f1fe (diff)
compositor: add "mapped" flag doc
-rw-r--r--include/wlr/types/wlr_compositor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_compositor.h b/include/wlr/types/wlr_compositor.h
index ffb56896..0d3b6e71 100644
--- a/include/wlr/types/wlr_compositor.h
+++ b/include/wlr/types/wlr_compositor.h
@@ -156,6 +156,9 @@ struct wlr_surface {
struct wl_list cached; // wlr_surface_state.cached_link
+ /**
+ * Whether the surface is ready to be displayed.
+ */
bool mapped;
/**