diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-08-25 19:29:04 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-08-25 23:41:11 +1000 |
commit | 2e7401772e740487bed27fc07c4d83398480ae6a (patch) | |
tree | 75f420b4769b4264f095f60d4998146b23224bb6 /sway/ipc-server.c | |
parent | Merge pull request #2510 from RyanDwyer/relocate-layout-functions (diff) | |
download | sway-2e7401772e740487bed27fc07c4d83398480ae6a.tar.gz sway-2e7401772e740487bed27fc07c4d83398480ae6a.tar.zst sway-2e7401772e740487bed27fc07c4d83398480ae6a.zip |
Rename sway_root.outputs to sway_root.all_outputs
This list includes disabled outputs.
When sway_container is demoted, we'll need to store the root's children
(ie. enabled outputs) in the sway_root. It makes sense to put these in a
list called `outputs`, so I'm renaming the existing list in advance.
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)); |