Olivier Fourdan 3288edf677 contraints: Do not constrain modals without parent
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
(cherry picked from commit 912a6f5e3f86040b75c18ce2e2c26ffd9a7925ee)
2018-07-10 17:03:20 +02:00
..
2018-05-07 22:06:02 +02:00
2018-05-07 22:29:42 +02:00
2015-07-05 22:01:59 -07:00
2015-07-05 22:01:59 -07:00