GtkMenu: Use gdk_window_move_to_rect() even more often
The fix in https://bugzilla.gnome.org/show_bug.cgi?id=772922 made the positioning code use gdk_window_move_to_rect() under certain conditions. This change removes one of the limitations: the new code will be used even if a custom positioning function is provided.
This fixes context menus on Wayland in Epiphany and LibreOffice.
Fixes #1154 (closed)
Edited by Dima Ryazanov