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

Matthias Clasen <[email protected]> changed:

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

--- Comment #13 from Matthias Clasen <[email protected]> ---
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.
_______________________________________________
wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to