mirror of
https://github.com/brl/mutter.git
synced 2025-04-12 13:19:38 +00:00

xdg-foreign clears the `transient_for` of a modal dialog when its imported parent is destroyed, which would later cause a crash in `constrain_modal_dialog()` because the transient `NULL`. So in case a modal dialog has no parent, do not try to constrain it against its parent. Closes: https://gitlab.gnome.org/GNOME/mutter/issues/174
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%