aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/output.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/desktop/output.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/desktop/output.c')
-rw-r--r--sway/desktop/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c
index 401d3c44..f95d9965 100644
--- a/sway/desktop/output.c
+++ b/sway/desktop/output.c
@@ -556,7 +556,7 @@ void handle_new_output(struct wl_listener *listener, void *data) {
556 wl_signal_add(&wlr_output->events.destroy, &output->destroy); 556 wl_signal_add(&wlr_output->events.destroy, &output->destroy);
557 output->destroy.notify = handle_destroy; 557 output->destroy.notify = handle_destroy;
558 558
559 wl_list_insert(&root_container.sway_root->outputs, &output->link); 559 wl_list_insert(&root_container.sway_root->all_outputs, &output->link);
560 560
561 if (!wl_list_empty(&wlr_output->modes)) { 561 if (!wl_list_empty(&wlr_output->modes)) {
562 struct wlr_output_mode *mode = 562 struct wlr_output_mode *mode =