mirror of
https://github.com/swaywm/sway.git
synced 2025-11-10 13:29:51 -05:00
Remove container_for_each_descendant_bfs
The function was not used. Also renames container_for_each_descendant_dfs to just container_for_each_descendant.
This commit is contained in:
parent
e474d87e42
commit
4ad1ccc9dc
9 changed files with 15 additions and 62 deletions
|
|
@ -238,16 +238,10 @@ struct sway_container *tiling_container_at(
|
|||
struct sway_container *con, double lx, double ly,
|
||||
struct wlr_surface **surface, double *sx, double *sy);
|
||||
|
||||
/**
|
||||
* Apply the function for each descendant of the container breadth first.
|
||||
*/
|
||||
void container_for_each_descendant_bfs(struct sway_container *container,
|
||||
void (*f)(struct sway_container *container, void *data), void *data);
|
||||
|
||||
/**
|
||||
* Apply the function for each child of the container depth first.
|
||||
*/
|
||||
void container_for_each_descendant_dfs(struct sway_container *container,
|
||||
void container_for_each_descendant(struct sway_container *container,
|
||||
void (*f)(struct sway_container *container, void *data), void *data);
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue