[Wayland-bugs] [Bug 759161] wayland: dialog stacking without parents (RFC)
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Tue Dec 8 07:40:51 PST 2015
https://bugzilla.gnome.org/show_bug.cgi?id=759161
--- Comment #4 from Olivier Fourdan <ofourdan at redhat.com> ---
Created attachment 316949
--> https://bugzilla.gnome.org/attachment.cgi?id=316949&action=edit
wayland: Update parent of dialogs without transient
This requires attachment 312099 in mutter to work.
X11 has the notions of "transient for group", and while it's an ICCCM
violation, it's commonly used and documented that a window manager would treat
a window with transient_for set to None to transient for all windows of its
group.
gtk+ uses this when an application set a dialog type window but does not
specify an explicit transient.
While this works on X11, there is no such thing as groups in Wayland and the
closest equivalent which is set_parent() in xdg-shell takes only one parent.
This is what is used for modal dialogs.
To get something similar in behavior to what is available on X11, a solution is
to update the parent() of the dialogs without transients when the active
surface changes.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20151208/d369d605/attachment.html>
More information about the wayland-bugs
mailing list