diff options
Diffstat (limited to 'sway/desktop')
-rw-r--r-- | sway/desktop/output.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 42194d54..beb6ee79 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c | |||
@@ -662,6 +662,7 @@ static void update_output_manager_config(struct sway_server *server) { | |||
662 | root->output_layout, output->wlr_output); | 662 | root->output_layout, output->wlr_output); |
663 | // We mark the output enabled even if it is switched off by DPMS | 663 | // We mark the output enabled even if it is switched off by DPMS |
664 | config_head->state.enabled = output->enabled; | 664 | config_head->state.enabled = output->enabled; |
665 | config_head->state.mode = output->current_mode; | ||
665 | if (output_box) { | 666 | if (output_box) { |
666 | config_head->state.x = output_box->x; | 667 | config_head->state.x = output_box->x; |
667 | config_head->state.y = output_box->y; | 668 | config_head->state.y = output_box->y; |