diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2018-05-12 12:37:48 -0400 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2018-05-12 12:37:48 -0400 |
commit | e3625d8f337d61c5d2ba1266679b9053168cd0ae (patch) | |
tree | 496ed7323dfead9e048a146fcfede4ef255b1a97 /include | |
parent | Implement hide_edge_borders (diff) | |
download | sway-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.h | 3 |
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, | |||
187 | bool container_has_child(struct sway_container *con, | 187 | bool container_has_child(struct sway_container *con, |
188 | struct sway_container *child); | 188 | struct sway_container *child); |
189 | 189 | ||
190 | int container_count_descendants_of_type(struct sway_container *con, | ||
191 | enum sway_container_type type); | ||
192 | |||
190 | void container_create_notify(struct sway_container *container); | 193 | void container_create_notify(struct sway_container *container); |
191 | 194 | ||
192 | void container_damage_whole(struct sway_container *container); | 195 | void container_damage_whole(struct sway_container *container); |