aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-10-08 23:00:36 +1000
committerFurkan Sahin <furkan-dev@proton.me>2018-10-08 23:00:36 +1000
commitad612cb2b5a2c0da661b6e338452730f240c9344 (patch)
tree6460aecbaf206dffcc4ffb546c4a8143025b82db /include
parentbd60d6a53fd6211f6aeec0c71262e066d5a12a31 (diff)
Introduce container_is_transient_for
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 da6592b4..920ef038 100644
--- a/include/sway/tree/container.h
+++ b/include/sway/tree/container.h
@@ -292,4 +292,7 @@ bool sway_dir_to_wlr(enum movement_direction dir, enum wlr_direction *out);
struct sway_container *container_split(struct sway_container *child,
enum sway_container_layout layout);
+bool container_is_transient_for(struct sway_container *child,
+ struct sway_container *ancestor);
+
#endif