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

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Wed Dec 9 10:44:30 PST 2015


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

Matthias Clasen <mclasen at redhat.com> changed:

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

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

::: gdk/wayland/gdkwindow-wayland.c
@@ +1024,3 @@
+  if (impl->hint != GDK_WINDOW_TYPE_HINT_DIALOG &&
+      new_state & GDK_WINDOW_STATE_FOCUSED)
+    gdk_wayland_window_update_dialogs (window);

So whenever a non-dialog is focused, we create and iterate a list of all
toplevels. Not sure I like that. Could we instead keep track of whether there
are any orphan dialogs, and only do the work if we have any ?

-- 
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/20151209/d1f50242/attachment-0001.html>


More information about the wayland-bugs mailing list