config/output: apply scale_filter even when scale has not changed

master
Ronan Pigott 5 years ago committed by Simon Ser
parent 1d483c340d
commit bd42415b5d

@ -366,7 +366,9 @@ bool apply_output_config(struct output_config *oc, struct sway_output *output) {
if (scale != wlr_output->scale) { if (scale != wlr_output->scale) {
sway_log(SWAY_DEBUG, "Set %s scale to %f", oc->name, scale); sway_log(SWAY_DEBUG, "Set %s scale to %f", oc->name, scale);
wlr_output_set_scale(wlr_output, scale); wlr_output_set_scale(wlr_output, scale);
}
if (oc) {
enum scale_filter_mode scale_filter_old = output->scale_filter; enum scale_filter_mode scale_filter_old = output->scale_filter;
switch (oc->scale_filter) { switch (oc->scale_filter) {
case SCALE_FILTER_DEFAULT: case SCALE_FILTER_DEFAULT:

Loading…
Cancel
Save