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.
This commit is contained in:
Ryan Dwyer 2018-08-25 19:29:04 +10:00
parent b945957b9b
commit 2e7401772e
5 changed files with 8 additions and 6 deletions

View file

@ -32,7 +32,7 @@ void root_create(void) {
root_container.sway_root = calloc(1, sizeof(*root_container.sway_root));
root_container.sway_root->output_layout = wlr_output_layout_create();
wl_list_init(&root_container.sway_root->outputs);
wl_list_init(&root_container.sway_root->all_outputs);
#ifdef HAVE_XWAYLAND
wl_list_init(&root_container.sway_root->xwayland_unmanaged);
#endif