mirror of
https://github.com/brl/mutter.git
synced 2025-01-22 17:38:56 +00:00
Jonas Ådahl
658d97d00e
window: Don't unmanage transient_for when attached
For some reason, when a modal dialog was made an attaching transient-for, if the window wasn't "constructing", it would be unmanaged and rely on some side effect to be recreated. This side effect is not triggered for Wayland clients, thus if one happen to set a surface as "modal" via gtk_surface.set_modal before xdg_toplevel.set_parent, it'd be unmanaged and never show up. Instead, simply just set the tranciency anyway for Wayland clients. This makes GTK+ clients that set_modal() before set_transient_for() work. https://bugzilla.gnome.org/show_bug.cgi?id=770324
…
…
…
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%