diff options
author | Ronan Pigott <rpigott@berkeley.edu> | 2019-12-26 21:18:34 -0700 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-12-27 11:38:05 +0100 |
commit | bd42415b5d3254f699a01845a0396e24f0de1a5f (patch) | |
tree | 9cb701ff07988c39ad705e1e1a37ef3a15b775ed | |
parent | 1d483c340d39ca75996729cfc6d5bb2b33cff2be (diff) | |
download | sway-bd42415b5d3254f699a01845a0396e24f0de1a5f.tar.xz |
config/output: apply scale_filter even when scale has not changed
-rw-r--r-- | sway/config/output.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/config/output.c b/sway/config/output.c index 0bb375c1..2a65718a 100644 --- a/sway/config/output.c +++ b/sway/config/output.c @@ -366,7 +366,9 @@ bool apply_output_config(struct output_config *oc, struct sway_output *output) { if (scale != wlr_output->scale) { sway_log(SWAY_DEBUG, "Set %s scale to %f", oc->name, scale); wlr_output_set_scale(wlr_output, scale); + } + if (oc) { enum scale_filter_mode scale_filter_old = output->scale_filter; switch (oc->scale_filter) { case SCALE_FILTER_DEFAULT: |