https://bugzilla.gnome.org/show_bug.cgi?id=759161
--- Comment #12 from Olivier Fourdan <[email protected]> ---
Created attachment 317059
--> https://bugzilla.gnome.org/attachment.cgi?id=317059&action=edit
[PATCH v2] wayland: Update parent of dialogs without transient
Changes in v2:
- Don't leak the toplevel list.
- Don't apply set_parent() between dialogs otherwize mutter/gnome-shell will
freeze in an infinite loop.
Note:
There is (small, imho) caveat in this approach, inherent to the Wayland
protocol: If there is more than one "transient-less" dialog (which is rare in a
real life scenario), the resulting stacking order might be wrong between the
dialogs.
That's because there is no stacking info of the toplevels on Wayland (i.e.
gdk_screen_get_window_stack() won't work so we're bound to use
gdk_screen_get_toplevel_windows() to traverse the window tree, and it doesn't
follow the actual current window stacking order).
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs