diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-08-11 08:29:34 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-11 08:29:34 -0400 |
commit | 2aa6d98c5a6d37c759e1e9cc84032a95fb193793 (patch) | |
tree | c7e26e67ae4e4fa393edc97f301b4e4a989d228f /include | |
parent | Merge pull request #2448 from RyanDwyer/remove-container-has-child (diff) | |
parent | Remove container_for_each_descendant_bfs (diff) | |
download | sway-2aa6d98c5a6d37c759e1e9cc84032a95fb193793.tar.gz sway-2aa6d98c5a6d37c759e1e9cc84032a95fb193793.tar.zst sway-2aa6d98c5a6d37c759e1e9cc84032a95fb193793.zip |
Merge pull request #2449 from RyanDwyer/remove-bfs
Remove container_for_each_descendant_bfs
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/tree/container.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h index 799c017d..2a22f196 100644 --- a/include/sway/tree/container.h +++ b/include/sway/tree/container.h | |||
@@ -239,15 +239,9 @@ struct sway_container *tiling_container_at( | |||
239 | struct wlr_surface **surface, double *sx, double *sy); | 239 | struct wlr_surface **surface, double *sx, double *sy); |
240 | 240 | ||
241 | /** | 241 | /** |
242 | * Apply the function for each descendant of the container breadth first. | ||
243 | */ | ||
244 | void container_for_each_descendant_bfs(struct sway_container *container, | ||
245 | void (*f)(struct sway_container *container, void *data), void *data); | ||
246 | |||
247 | /** | ||
248 | * Apply the function for each child of the container depth first. | 242 | * Apply the function for each child of the container depth first. |
249 | */ | 243 | */ |
250 | void container_for_each_descendant_dfs(struct sway_container *container, | 244 | void container_for_each_descendant(struct sway_container *container, |
251 | void (*f)(struct sway_container *container, void *data), void *data); | 245 | void (*f)(struct sway_container *container, void *data), void *data); |
252 | 246 | ||
253 | /** | 247 | /** |