aboutsummaryrefslogtreecommitdiff
path: root/sway/ipc-server.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-08-11 08:29:34 -0400
committerGitHub <noreply@github.com>2018-08-11 08:29:34 -0400
commit2aa6d98c5a6d37c759e1e9cc84032a95fb193793 (patch)
treec7e26e67ae4e4fa393edc97f301b4e4a989d228f /sway/ipc-server.c
parent9545c70928d47172cfbcbd318628497b87efefc1 (diff)
parent4ad1ccc9dcd1e9090090dfbae153ded1b36af9ff (diff)
Merge pull request #2449 from RyanDwyer/remove-bfs
Remove container_for_each_descendant_bfs
Diffstat (limited to 'sway/ipc-server.c')
-rw-r--r--sway/ipc-server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/ipc-server.c b/sway/ipc-server.c
index 7d2d8969..dad1f310 100644
--- a/sway/ipc-server.c
+++ b/sway/ipc-server.c
@@ -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 =