<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body><span class="vcard"><a href="page.cgi?id=describeuser.html&login=ofourdan%40redhat.com" title="Olivier Fourdan <ofourdan@redhat.com>"> <span class="fn">Olivier Fourdan</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - [Wayland] gtk_window_resize() does not behave as expected"
href="https://bugzilla.gnome.org/show_bug.cgi?id=757690">bug 757690</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;">CC</td>
<td>
</td>
<td>ofourdan@redhat.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [Wayland] gtk_window_resize() does not behave as expected"
href="https://bugzilla.gnome.org/show_bug.cgi?id=757690#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [Wayland] gtk_window_resize() does not behave as expected"
href="https://bugzilla.gnome.org/show_bug.cgi?id=757690">bug 757690</a>
from <span class="vcard"><a href="page.cgi?id=describeuser.html&login=ofourdan%40redhat.com" title="Olivier Fourdan <ofourdan@redhat.com>"> <span class="fn">Olivier Fourdan</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=315674" name="attach_315674" title="Updated example">attachment 315674</a> <a href="attachment.cgi?id=315674&action=edit" title="Updated example">[details]</a></span>
Updated example
I think this is indeed the same as <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - GtkWindow CSD: gtk_window_resize() also includes client side decorations size"
href="show_bug.cgi?id=756618">bug 756618</a>, basically, gtk_window_resize()
takes the client side decorations into account and therefore ends up with a
smaller window that expected.
The attached (modified) version gives expected results with gtk+-3.19.x, the
changes in the source code (i.e. moving the gtk_window_resize() after the
gtk_window_show_all()) are necessary so that the size of the header bar and
shadows are known at the time the resize is issued so that gtk_window_resize()
can compensate for those additional controls.</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>