diff options
Diffstat (limited to 'sway/ipc-server.c')
-rw-r--r-- | sway/ipc-server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/ipc-server.c b/sway/ipc-server.c index 34e940ad..49342f47 100644 --- a/sway/ipc-server.c +++ b/sway/ipc-server.c | |||
@@ -615,7 +615,7 @@ void ipc_client_handle_command(struct ipc_client *client) { | |||
615 | } | 615 | } |
616 | } | 616 | } |
617 | struct sway_output *output; | 617 | struct sway_output *output; |
618 | wl_list_for_each(output, &root_container.sway_root->outputs, link) { | 618 | wl_list_for_each(output, &root_container.sway_root->all_outputs, link) { |
619 | if (!output->swayc) { | 619 | if (!output->swayc) { |
620 | json_object_array_add(outputs, | 620 | json_object_array_add(outputs, |
621 | ipc_json_describe_disabled_output(output)); | 621 | ipc_json_describe_disabled_output(output)); |