mirror of
https://github.com/swaywm/sway.git
synced 2025-11-29 06:59:46 -05:00
Do not modeset disabled outputs
This commit is contained in:
parent
89a045835f
commit
349d1f3be8
2 changed files with 4 additions and 6 deletions
|
|
@ -559,12 +559,6 @@ void handle_new_output(struct wl_listener *listener, void *data) {
|
|||
|
||||
wl_list_insert(&root_container.sway_root->all_outputs, &output->link);
|
||||
|
||||
if (!wl_list_empty(&wlr_output->modes)) {
|
||||
struct wlr_output_mode *mode =
|
||||
wl_container_of(wlr_output->modes.prev, mode, link);
|
||||
wlr_output_set_mode(wlr_output, mode);
|
||||
}
|
||||
|
||||
output_enable(output);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue