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 1ac0521e..ed710be5 100644 --- a/sway/ipc-server.c +++ b/sway/ipc-server.c | |||
@@ -616,7 +616,7 @@ void ipc_client_handle_command(struct ipc_client *client) { | |||
616 | } | 616 | } |
617 | } | 617 | } |
618 | struct sway_output *output; | 618 | struct sway_output *output; |
619 | wl_list_for_each(output, &root_container.sway_root->outputs, link) { | 619 | wl_list_for_each(output, &root_container.sway_root->all_outputs, link) { |
620 | if (!output->swayc) { | 620 | if (!output->swayc) { |
621 | json_object_array_add(outputs, | 621 | json_object_array_add(outputs, |
622 | ipc_json_describe_disabled_output(output)); | 622 | ipc_json_describe_disabled_output(output)); |