From 2e7401772e740487bed27fc07c4d83398480ae6a Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Sat, 25 Aug 2018 19:29:04 +1000 Subject: 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. --- sway/ipc-server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sway/ipc-server.c') 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) { } } struct sway_output *output; - wl_list_for_each(output, &root_container.sway_root->outputs, link) { + wl_list_for_each(output, &root_container.sway_root->all_outputs, link) { if (!output->swayc) { json_object_array_add(outputs, ipc_json_describe_disabled_output(output)); -- cgit v1.2.3