diff options
Diffstat (limited to 'sway/config.c')
-rw-r--r-- | sway/config.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/config.c b/sway/config.c index 5e1887a6..83129524 100644 --- a/sway/config.c +++ b/sway/config.c @@ -867,6 +867,9 @@ void apply_output_config(struct output_config *oc, swayc_t *output) { struct wlc_size new_size = { .w = oc->width, .h = oc->height }; wlc_output_set_resolution(output->handle, &new_size); } + if (oc && oc->scale != 1) { + wlc_output_set_scale(output->handle, (int32_t)oc->scale); + } // Find position for it if (oc && oc->x != -1 && oc->y != -1) { |