mirror of
https://github.com/swaywm/sway.git
synced 2025-11-06 13:29:50 -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
|
|
@ -631,7 +631,7 @@ void ipc_client_handle_command(struct ipc_client *client) {
|
|||
case IPC_GET_WORKSPACES:
|
||||
{
|
||||
json_object *workspaces = json_object_new_array();
|
||||
container_for_each_descendant_dfs(&root_container,
|
||||
container_for_each_descendant(&root_container,
|
||||
ipc_get_workspaces_callback, workspaces);
|
||||
const char *json_string = json_object_to_json_string(workspaces);
|
||||
client_valid =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue