aboutsummaryrefslogtreecommitdiff
path: root/include/sway/tree/container.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/tree/container.h')
-rw-r--r--include/sway/tree/container.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h
index bb6c04a6..fa2f9286 100644
--- a/include/sway/tree/container.h
+++ b/include/sway/tree/container.h
@@ -76,6 +76,9 @@ struct sway_container {
enum sway_container_layout layout;
enum sway_container_layout prev_layout;
+ // Saves us from searching the list of children/floating in the parent
+ bool is_floating;
+
// For C_ROOT, this has no meaning
// For C_OUTPUT, this is the output position in layout coordinates
// For other types, this is the position in output-local coordinates