mirror of
https://github.com/brl/mutter.git
synced 2025-02-23 16:34:10 +00:00

As the position of attached modal dialogs is determined entirely by the position of the parent window, the dialog may end up partially off-screen (especially if the dialog is wider than the parent). In this case, diverge from the calculated position and try to fit the dialog on-screen. https://bugzilla.gnome.org/show_bug.cgi?id=631308