commit 6acbe84fdd56fc8a087ce2cc457e4eb0b6c2f4a8
parent b61a936c8060bc4ac4320a5f76fd98b5042e5e41
Author: Brian Ashworth <bosrsf04@gmail.com>
Date: Mon, 10 Dec 2018 02:42:06 -0500
Call wlr_output_enable for disabled new outputs
When a new output is detected and it is disabled by the output config,
call `wlr_output_enable(output->wlr_output, false)` to DPMS off the
output.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/sway/desktop/output.c b/sway/desktop/output.c
@@ -568,6 +568,8 @@ void handle_new_output(struct wl_listener *listener, void *data) {
if (!oc || oc->enabled) {
output_enable(output, oc);
+ } else {
+ wlr_output_enable(output->wlr_output, false);
}
transaction_commit_dirty();