wayland/xdg-popup: Always use monitor of toplevel
authorJonas Ådahl <jadahl@gmail.com>
Fri, 23 Sep 2016 09:15:56 +0000 (17:15 +0800)
committerPeter Michael Green <plugwash@raspbian.org>
Fri, 21 Oct 2016 23:24:13 +0000 (23:24 +0000)
commit25204c6691af46e068fcdc79d3af30659ca1c832
treec2f8b0a13bd244c36d77c34b225be31db43c8bce
parent61e2efce126613ccbb867c733ad1fc0ccf06494c
wayland/xdg-popup: Always use monitor of toplevel

Always use the monitor of the toplevel surface's window, so that the
popup menu and the parent will always have the same scale. This fixes
the dimensions sent in the xdg_popup configure event.

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

Gbp-Pq: Name wayland-xdg-popup-Always-use-monitor-of-toplevel.patch
src/wayland/meta-wayland-xdg-shell.c
src/wayland/meta-window-wayland.c