summaryrefslogtreecommitdiffstats
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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h
index 3bb497db..6aa66da0 100644
--- a/include/sway/tree/container.h
+++ b/include/sway/tree/container.h
@@ -99,8 +99,13 @@ struct sway_container *container_view_create(
99 99
100struct sway_container *container_output_destroy(struct sway_container *output); 100struct sway_container *container_output_destroy(struct sway_container *output);
101 101
102struct sway_container *container_workspace_destroy(
103 struct sway_container *workspace);
104
102struct sway_container *container_view_destroy(struct sway_container *view); 105struct sway_container *container_view_destroy(struct sway_container *view);
103 106
107struct sway_container *container_destroy(struct sway_container *cont);
108
104struct sway_container *container_set_layout(struct sway_container *container, 109struct sway_container *container_set_layout(struct sway_container *container,
105 enum sway_container_layout layout); 110 enum sway_container_layout layout);
106 111
@@ -140,4 +145,7 @@ void container_for_each_descendant_bfs(struct sway_container *container,
140void container_for_each_descendant_dfs(struct sway_container *container, 145void container_for_each_descendant_dfs(struct sway_container *container,
141 void (*f)(struct sway_container *container, void *data), void *data); 146 void (*f)(struct sway_container *container, void *data), void *data);
142 147
148bool container_has_anscestor(struct sway_container *descendant,
149 struct sway_container *anscestor);
150
143#endif 151#endif