aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/root.c
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-08-25 19:29:04 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-08-25 23:41:11 +1000
commit2e7401772e740487bed27fc07c4d83398480ae6a (patch)
tree75f420b4769b4264f095f60d4998146b23224bb6 /sway/tree/root.c
parentMerge pull request #2510 from RyanDwyer/relocate-layout-functions (diff)
downloadsway-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/tree/root.c')
-rw-r--r--sway/tree/root.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/root.c b/sway/tree/root.c
index 5602f0a0..2dd8f9f2 100644
--- a/sway/tree/root.c
+++ b/sway/tree/root.c
@@ -32,7 +32,7 @@ void root_create(void) {
32 32
33 root_container.sway_root = calloc(1, sizeof(*root_container.sway_root)); 33 root_container.sway_root = calloc(1, sizeof(*root_container.sway_root));
34 root_container.sway_root->output_layout = wlr_output_layout_create(); 34 root_container.sway_root->output_layout = wlr_output_layout_create();
35 wl_list_init(&root_container.sway_root->outputs); 35 wl_list_init(&root_container.sway_root->all_outputs);
36#ifdef HAVE_XWAYLAND 36#ifdef HAVE_XWAYLAND
37 wl_list_init(&root_container.sway_root->xwayland_unmanaged); 37 wl_list_init(&root_container.sway_root->xwayland_unmanaged);
38#endif 38#endif