• Jonas Ådahl's avatar
    gdk: Make gdk_window_move_to_rect public · 9b3c745f
    Jonas Ådahl authored
    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.
    
    Closes: GNOME/gtk#997
    9b3c745f
gdkwindow.h 45.9 KB