<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 - regression in menu positioning on wayland"
href="https://bugzilla.gnome.org/show_bug.cgi?id=769402">bug 769402</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 #332696 is obsolete</td>
<td>
</td>
<td>1
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - regression in menu positioning on wayland"
href="https://bugzilla.gnome.org/show_bug.cgi?id=769402#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - regression in menu positioning on wayland"
href="https://bugzilla.gnome.org/show_bug.cgi?id=769402">bug 769402</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=332789&action=diff" name="attach_332789" title="wayland: Don't include shadow margins in window size">attachment 332789</a> <a href="attachment.cgi?id=332789&action=edit" title="wayland: Don't include shadow margins in window size">[details]</a></span> <a href='review?bug=769402&attachment=332789'>[review]</a>
wayland: Don't include shadow margins in window size
The GdkWindow::width and GdkWindow::height fields represent the window
geometry size, not including any possible shadow margin. The Wayland
backend ignored this and appended it anyway, causing various problems
here and there.
This fixes an relative popup positioning when a menu expands upwards
or to the right from a anchor rectangle. The reason was that since the
size was "in flux" between gtk/'s and gdk/wayland/'s understanding of
size, if the position calculation happened to be done in state, but
actual positioning in the other, the position was incorrect.
---
This patch replaces "wayland: Don't append shadow width to window size".</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>