aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-05-12 12:37:48 -0400
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-05-12 12:37:48 -0400
commite3625d8f337d61c5d2ba1266679b9053168cd0ae (patch)
tree496ed7323dfead9e048a146fcfede4ef255b1a97 /include
parentImplement hide_edge_borders (diff)
downloadsway-e3625d8f337d61c5d2ba1266679b9053168cd0ae.tar.gz
sway-e3625d8f337d61c5d2ba1266679b9053168cd0ae.tar.zst
sway-e3625d8f337d61c5d2ba1266679b9053168cd0ae.zip
Count descendant views for hide_edge_borders smart
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 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,
187bool container_has_child(struct sway_container *con, 187bool container_has_child(struct sway_container *con,
188 struct sway_container *child); 188 struct sway_container *child);
189 189
190int container_count_descendants_of_type(struct sway_container *con,
191 enum sway_container_type type);
192
190void container_create_notify(struct sway_container *container); 193void container_create_notify(struct sway_container *container);
191 194
192void container_damage_whole(struct sway_container *container); 195void container_damage_whole(struct sway_container *container);