aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/tree/container.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/tree/container.h')
-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 4d0e6003..4170f6ba 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/**