wayland/xdg-popup: Always use monitor of toplevel
authorJonas Ådahl <jadahl@gmail.com>
Fri, 23 Sep 2016 09:15:56 +0000 (17:15 +0800)
committerSjoerd Simons <sjoerd@debian.org>
Fri, 14 Oct 2016 20:01:14 +0000 (20:01 +0000)
commitb8334a658da61e59295f19cb9b32ae063454b1dd
treeeb8809ed75babb5f3df573bb15179c15f87cb8a2
parent68430983534f3644810551b80427341d748f9a16
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