aboutsummaryrefslogtreecommitdiff
path: root/sway/config
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-12-18 14:13:07 +0100
committeremersion <contact@emersion.fr>2017-12-18 14:13:07 +0100
commitc815d6d1a97fe940052f079bd8eb7f174f5ab004 (patch)
treea6b58e92550c237057b72e6fb6598f3fcca0730c /sway/config
parent1aab9ae3e74d15e2c346acbab2ef2def59db72eb (diff)
Add support for fractional output scale
Diffstat (limited to 'sway/config')
-rw-r--r--sway/config/output.c2
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) {
set_mode(wlr_output, oc->width, oc->height, oc->refresh_rate);
}
if (oc && oc->scale > 0) {
- sway_log(L_DEBUG, "Set %s scale to %d", oc->name, oc->scale);
+ sway_log(L_DEBUG, "Set %s scale to %f", oc->name, oc->scale);
wlr_output_set_scale(wlr_output, oc->scale);
}
if (oc && oc->transform >= 0) {