diff options
author | emersion <contact@emersion.fr> | 2017-12-18 14:13:07 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2017-12-18 14:13:07 +0100 |
commit | c815d6d1a97fe940052f079bd8eb7f174f5ab004 (patch) | |
tree | a6b58e92550c237057b72e6fb6598f3fcca0730c /sway/config | |
parent | Merge pull request #1503 from emersion/output-config (diff) | |
download | sway-c815d6d1a97fe940052f079bd8eb7f174f5ab004.tar.gz sway-c815d6d1a97fe940052f079bd8eb7f174f5ab004.tar.zst sway-c815d6d1a97fe940052f079bd8eb7f174f5ab004.zip |
Add support for fractional output scale
Diffstat (limited to 'sway/config')
-rw-r--r-- | sway/config/output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/config/output.c b/sway/config/output.c index dc9ee37c..ff3f73a3 100644 --- a/sway/config/output.c +++ b/sway/config/output.c | |||
@@ -111,7 +111,7 @@ void apply_output_config(struct output_config *oc, swayc_t *output) { | |||
111 | set_mode(wlr_output, oc->width, oc->height, oc->refresh_rate); | 111 | set_mode(wlr_output, oc->width, oc->height, oc->refresh_rate); |
112 | } | 112 | } |
113 | if (oc && oc->scale > 0) { | 113 | if (oc && oc->scale > 0) { |
114 | sway_log(L_DEBUG, "Set %s scale to %d", oc->name, oc->scale); | 114 | sway_log(L_DEBUG, "Set %s scale to %f", oc->name, oc->scale); |
115 | wlr_output_set_scale(wlr_output, oc->scale); | 115 | wlr_output_set_scale(wlr_output, oc->scale); |
116 | } | 116 | } |
117 | if (oc && oc->transform >= 0) { | 117 | if (oc && oc->transform >= 0) { |