<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body><span class="vcard"><a href="page.cgi?id=describeuser.html&login=jadahl%40gmail.com" title="Jonas Ådahl <jadahl@gmail.com>"> <span class="fn">Jonas Ådahl</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - [wayland] dropdown placed somewhere in the screen"
href="https://bugzilla.gnome.org/show_bug.cgi?id=776225">bug 776225</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Attachment #342924 status</td>
<td>accepted-commit_now
</td>
<td>none
</td>
</tr>
<tr>
<td style="text-align:right;">Attachment #342924 is obsolete</td>
<td>
</td>
<td>1
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [wayland] dropdown placed somewhere in the screen"
href="https://bugzilla.gnome.org/show_bug.cgi?id=776225#c10">Comment # 10</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [wayland] dropdown placed somewhere in the screen"
href="https://bugzilla.gnome.org/show_bug.cgi?id=776225">bug 776225</a>
from <span class="vcard"><a href="page.cgi?id=describeuser.html&login=jadahl%40gmail.com" title="Jonas Ådahl <jadahl@gmail.com>"> <span class="fn">Jonas Ådahl</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=342933&action=diff" name="attach_342933" title="wayland: Handle subsurface as popup parent">attachment 342933</a> <a href="attachment.cgi?id=342933&action=edit" title="wayland: Handle subsurface as popup parent">[details]</a></span> <a href='review?bug=776225&attachment=342933'>[review]</a>
wayland: Handle subsurface as popup parent
When a subsurface is used as a parent of a popup, GDK needs to traverse
up to the transient-for as the next parent, to properly find the parent
used by the popup positioner. This is because the parent of a popup
must always either be an xdg_popup or an xdg_surface, but traversing
the "parent" (in GDK terms) upwards from a subsurface will end up on
the fake root window before we hit the actual parent (in Wayland terms).
----
This one untangles the while loop and uses a temp variable for the effectev
parent. Got slightly messier, but also maybe easier to read; not sure which one
I prefer.</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>