aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-03-31 15:22:10 -0400
committerFurkan Sahin <furkan-dev@proton.me>2018-03-31 15:22:10 -0400
commit6270c3ca29c5c4f2884a408be89263a6e8957a1a (patch)
tree400a88da660080c18c463edff127fa1e27a719c2 /include
parent6fc0c160761f4bb248bbbaabe350d070ebe802b5 (diff)
handle container destroy in the seat
Diffstat (limited to 'include')
-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 46f1c5ab..285f1011 100644
--- a/include/sway/tree/container.h
+++ b/include/sway/tree/container.h
@@ -150,4 +150,7 @@ void container_for_each_descendant_dfs(struct sway_container *container,
bool container_has_anscestor(struct sway_container *descendant,
struct sway_container *anscestor);
+bool container_has_child(struct sway_container *con,
+ struct sway_container *child);
+
#endif