Skip to content

wayland/window: Only update the scale if on any outputs

Jonas Ådahl requested to merge jadahl/gtk:wip/keep-scale-3-24 into gtk-3-24

If we ended up on no output at all, keep the HiDPI scale as is, as it likely means we were on a workspace that was switched away from. By keeping the same scale, we avoid unnecessary scale changes that would otherwise take place if the scale when on monitors would end up being more than 1.

Merge request reports