aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-08-11 08:29:34 -0400
committerLibravatar GitHub <noreply@github.com>2018-08-11 08:29:34 -0400
commit2aa6d98c5a6d37c759e1e9cc84032a95fb193793 (patch)
treec7e26e67ae4e4fa393edc97f301b4e4a989d228f /include
parentMerge pull request #2448 from RyanDwyer/remove-container-has-child (diff)
parentRemove container_for_each_descendant_bfs (diff)
downloadsway-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.h8
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 */
244void 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 */
250void container_for_each_descendant_dfs(struct sway_container *container, 244void 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/**