mirror of
https://github.com/swaywm/sway.git
synced 2025-11-29 06:59:46 -05:00
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:
parent
b945957b9b
commit
2e7401772e
5 changed files with 8 additions and 6 deletions
|
|
@ -556,7 +556,7 @@ void handle_new_output(struct wl_listener *listener, void *data) {
|
|||
wl_signal_add(&wlr_output->events.destroy, &output->destroy);
|
||||
output->destroy.notify = handle_destroy;
|
||||
|
||||
wl_list_insert(&root_container.sway_root->outputs, &output->link);
|
||||
wl_list_insert(&root_container.sway_root->all_outputs, &output->link);
|
||||
|
||||
if (!wl_list_empty(&wlr_output->modes)) {
|
||||
struct wlr_output_mode *mode =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue