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.
master
Brian Ashworth 6 years ago committed by emersion
parent b61a936c80
commit 6acbe84fdd

@ -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();

Loading…
Cancel
Save