<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - wayland: dialog stacking without parents (RFC)"
href="https://bugzilla.gnome.org/show_bug.cgi?id=759161#c16">Comment # 16</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - wayland: dialog stacking without parents (RFC)"
href="https://bugzilla.gnome.org/show_bug.cgi?id=759161">bug 759161</a>
from <span class="vcard"><a href="page.cgi?id=describeuser.html&login=mclasen%40redhat.com" title="Matthias Clasen <mclasen@redhat.com>"> <span class="fn">Matthias Clasen</span></a>
</span></b>
<pre>(In reply to Olivier Fourdan from <a href="show_bug.cgi?id=759161#c14">comment #14</a>)
<span class="quote">> (In reply to Matthias Clasen from <a href="show_bug.cgi?id=759161#c13">comment #13</a>)
> > 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 ?
>
> Yes, we could do that, we could either maintain a list of orphans dialogs
> (ie dialogs without transients), where would this list be kept,
> gdkscreen-wayland?</span >
I was thinking just a count would be enough ? or just a boolean, really.
Everytime an orphan dialog appears, you set it to true, and everytime you walk
the list, you check if there's any orphans left after you're done.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>