wayland: Add basic hidpi support

Desktop / GNOME / Mutter - Adel Gadllah [gmail.com] - 3 May 2014 03:11 UTC

Advertise the scale factor on the output and transform pointer and damage events as well as input and opaque regions for clients that scale up by themselves i.e use set_buffer_scale.

We do not scale any 'legacy' apps yet.

https://bugzilla.gnome.org/show_bug.cgi?id=728902

31c925c wayland: Add basic hidpi support
src/backends/meta-monitor-manager.h | 1 +
src/wayland/meta-wayland-outputs.c | 49 ++++++++++++++++++++++++++++
src/wayland/meta-wayland-pointer.c | 4 +--
src/wayland/meta-wayland-surface.c | 61 ++++++++++++++++++++++++++++++++---
src/wayland/meta-wayland-surface.h | 3 ++
5 files changed, 111 insertions(+), 7 deletions(-)

Upstream: git.gnome.org


  • Share