diff options
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r-- | sway/desktop/output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 35fce1a6..bbebe453 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 = |