This will work better with the new monitor api in gdk.
1b7d7c8 menu: Add new monitor api
gtk/gtkmenu.c | 135 ++++++++++++++++++++++++++++++++++++---------------------
gtk/gtkmenu.h | 5 +++
2 files changed, 91 insertions(+), 49 deletions(-)
Upstream: git.gnome.org