wayland/xdg-shell: Scale positioner coordinates
authorJonas Ådahl <jadahl@gmail.com>
Thu, 13 Oct 2016 05:56:00 +0000 (13:56 +0800)
committerSjoerd Simons <sjoerd@debian.org>
Fri, 14 Oct 2016 20:01:14 +0000 (20:01 +0000)
commit8f6564a4a80bbc1d0635c784b5444e920c576a44
treeeb78bc06138c991405b410ebe3ffcf70862a3b39
parent1bfff302b219dd9b07057effe36c18e988ed0a0e
wayland/xdg-shell: Scale positioner coordinates

When the monitor is scaled (i.e. HiDPI scaling) the placement coordinates
ere still in unscaled xdg_surface window geometry coordinate space when
used to place the window. Fix this by scaling the coordinates by the
monitor scale of the parent toplevel window before using them.

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

Gbp-Pq: Name wayland-xdg-shell-Scale-positioner-coordinates.patch
src/wayland/meta-wayland-xdg-shell.c