diff options
author | 2018-09-03 00:32:09 -0400 | |
---|---|---|
committer | 2018-09-03 00:32:09 -0400 | |
commit | c9276f04c9fae7a211164003bc9cb8b4369db5fd (patch) | |
tree | f950fd298c335abd992005a26029dbfba8010136 /sway/desktop/output.c | |
parent | Merge pull request #2562 from RyanDwyer/ld-library-path (diff) | |
parent | Merge branch 'master' into disabled-no-modeset (diff) | |
download | sway-c9276f04c9fae7a211164003bc9cb8b4369db5fd.tar.gz sway-c9276f04c9fae7a211164003bc9cb8b4369db5fd.tar.zst sway-c9276f04c9fae7a211164003bc9cb8b4369db5fd.zip |
Merge pull request #2553 from emersion/disabled-no-modeset
Do not modeset disabled outputs
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r-- | sway/desktop/output.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c index c228979d..c30e52a1 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c | |||
@@ -559,12 +559,6 @@ void handle_new_output(struct wl_listener *listener, void *data) { | |||
559 | 559 | ||
560 | wl_list_insert(&root_container.sway_root->all_outputs, &output->link); | 560 | wl_list_insert(&root_container.sway_root->all_outputs, &output->link); |
561 | 561 | ||
562 | if (!wl_list_empty(&wlr_output->modes)) { | ||
563 | struct wlr_output_mode *mode = | ||
564 | wl_container_of(wlr_output->modes.prev, mode, link); | ||
565 | wlr_output_set_mode(wlr_output, mode); | ||
566 | } | ||
567 | |||
568 | output_enable(output); | 562 | output_enable(output); |
569 | } | 563 | } |
570 | 564 | ||