aboutsummaryrefslogtreecommitdiff
path: root/include/sway/tree/container.h
diff options
context:
space:
mode:
authorBrian Ashworth <bosrsf04@gmail.com>2018-05-12 12:37:48 -0400
committerBrian Ashworth <bosrsf04@gmail.com>2018-05-12 12:37:48 -0400
commite3625d8f337d61c5d2ba1266679b9053168cd0ae (patch)
tree496ed7323dfead9e048a146fcfede4ef255b1a97 /include/sway/tree/container.h
parent3db7fc2bb2c35d545b2a0a72f5554af833bd447f (diff)
Count descendant views for hide_edge_borders smart
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 61ab7ca1..ec9e2385 100644
--- a/include/sway/tree/container.h
+++ b/include/sway/tree/container.h
@@ -187,6 +187,9 @@ bool container_has_anscestor(struct sway_container *container,
bool container_has_child(struct sway_container *con,
struct sway_container *child);
+int container_count_descendants_of_type(struct sway_container *con,
+ enum sway_container_type type);
+
void container_create_notify(struct sway_container *container);
void container_damage_whole(struct sway_container *container);