wayland/xdg-shell: Scale positioner coordinates
authorJonas Ådahl <jadahl@gmail.com>
Thu, 13 Oct 2016 05:56:00 +0000 (13:56 +0800)
committerPeter Michael Green <plugwash@raspbian.org>
Fri, 21 Oct 2016 23:24:13 +0000 (23:24 +0000)
commit781d6d366815b5b492ee62e15b85b499855149d5
tree594b4b2678582f3fe621b5db4a58b31858447bb7
parent971f67cdec5c8026a122ad9862d5d22d862fc831
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