diff options
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r-- | sway/desktop/output.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c index d649100f..246f4438 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c | |||
@@ -568,6 +568,8 @@ void handle_new_output(struct wl_listener *listener, void *data) { | |||
568 | 568 | ||
569 | if (!oc || oc->enabled) { | 569 | if (!oc || oc->enabled) { |
570 | output_enable(output, oc); | 570 | output_enable(output, oc); |
571 | } else { | ||
572 | wlr_output_enable(output->wlr_output, false); | ||
571 | } | 573 | } |
572 | 574 | ||
573 | transaction_commit_dirty(); | 575 | transaction_commit_dirty(); |