[Wayland-bugs] [Bug 759161] wayland: dialog stacking without parents (RFC)

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Tue Dec 15 09:35:42 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=759161

Matthias Clasen <mclasen at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #317371|none                        |reviewed
             status|                            |

--- Comment #21 from Matthias Clasen <mclasen at redhat.com> ---
Review of attachment 317371:

::: gdk/wayland/gdkscreen-wayland.c
@@ +1275,3 @@
+  GdkWaylandScreen *screen_wayland = GDK_WAYLAND_SCREEN (screen);
+
+  return g_list_copy (screen_wayland->orphan_dialogs);

I would prefer to return the list itself here, without a copy. This is not
public api, and we know the only caller, so seems quite safe. Alternatively
(and maybe preferrably) keep the entire orphan dialog business static in
gdkwindow-wayland.c - there's only one screen object anyway, and we avoid
adding these (internal) apis.

-- 
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/20151215/3a49aa8b/attachment-0001.html>


More information about the wayland-bugs mailing list