diff options
Diffstat (limited to 'sway/config')
-rw-r--r-- | sway/config/output.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/config/output.c b/sway/config/output.c index 3c36692f..50bf1155 100644 --- a/sway/config/output.c +++ b/sway/config/output.c @@ -278,6 +278,7 @@ bool apply_output_config(struct output_config *oc, struct sway_output *output) { sway_log(SWAY_ERROR, "Failed to modeset output %s", wlr_output->name); return false; } + output->current_mode = wlr_output->current_mode; if (oc && oc->scale > 0) { sway_log(SWAY_DEBUG, "Set %s scale to %f", oc->name, oc->scale); |