Scale surfaces based on output scale and the buffer scale set by them. We pick the scale factor of the monitor there are mostly on.
We only handle native i.e non xwayland / legacy clients yet.
https://bugzilla.gnome.org/show_bug.cgi?id=728902
f9bffae wayland: Scale native surfaces for hidpi
src/compositor/meta-surface-actor-wayland.c | 89 +++++++++++++++++++++++++++
src/compositor/meta-surface-actor-wayland.h | 2 +
src/compositor/meta-window-actor.c | 11 ++++
src/wayland/meta-wayland-pointer.c | 2 +-
src/wayland/meta-wayland-surface.c | 6 ++
5 files changed, 109 insertions(+), 1 deletion(-)
Upstream: git.gnome.org