Skip to content

gdk: Make gdk_surface_move_to_rect public

Jonas Ådahl requested to merge jadahl/gtk:wip/move-to-rect-public into master

This is the API used by GtkMenu to properly position menus on the screen without requiring GTK to query the menu window's position or the work area of where the window is positioned. It makes it possible to position popup windows properly when using Wayland.

Make this API available to external users so custom popup windows can be positioned properly as well.

Related: #997 (closed)

Merge request reports