Stop using gdk_monitor_get_workarea() for calculating popup positions
Submitted by Jonas Ådahl
There are still a few places where we use gdk_monitor_get_workarea() and the "window monitor" and absolute positioning to calculate how to position popups. This doesn't work on backends that doesn't have global positioning, such as Wayland and Mir.
All these places should be changed to use gdk_window_move_to_rect() instead.
Some places that needs to be ported include:
- GtkComboBox list position
- GtkEntryCompletion popup window
- GtkTreeView search window
Atfer that, gdk_monitor_get_workarea() should probably be deprecated together with gdk_display_get_monitor_at_window().