mirror of
https://github.com/swaywm/sway.git
synced 2024-12-29 00:16:22 +01:00
config/output: apply scale_filter even when scale has not changed
This commit is contained in:
parent
1d483c340d
commit
bd42415b5d
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue