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) { | |||
867 | struct wlc_size new_size = { .w = oc->width, .h = oc->height }; | 867 | struct wlc_size new_size = { .w = oc->width, .h = oc->height }; |
868 | wlc_output_set_resolution(output->handle, &new_size); | 868 | wlc_output_set_resolution(output->handle, &new_size); |
869 | } | 869 | } |
870 | if (oc && oc->scale != 1) { | ||
871 | wlc_output_set_scale(output->handle, (int32_t)oc->scale); | ||
872 | } | ||
870 | 873 | ||
871 | // Find position for it | 874 | // Find position for it |
872 | if (oc && oc->x != -1 && oc->y != -1) { | 875 | if (oc && oc->x != -1 && oc->y != -1) { |