<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - window shrinks when restored from maximized"
href="https://bugzilla.gnome.org/show_bug.cgi?id=777072#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - window shrinks when restored from maximized"
href="https://bugzilla.gnome.org/show_bug.cgi?id=777072">bug 777072</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=354151&action=diff" name="attach_354151" title="[PATCH] wayland: Do not constrain saved window size">attachment 354151</a> <a href="attachment.cgi?id=354151&action=edit" title="[PATCH] wayland: Do not constrain saved window size">[details]</a></span> <a href='review?bug=777072&attachment=354151'>[review]</a>
[PATCH] wayland: Do not constrain saved window size
Under Wayland, an xdg_surface.configure with size 0x0 means it's up to
the client to set its size.
When transitioning from maximized state to un-maximized, the Wayland
compositor will send such an 0x0 configure so that the client can
restore its original size.
However, the original size was already constrained, so re-applying
size constrains can lead to a smaller size when using size increments.
Avoid this caveat by not applying size constrains when we are restoring
the original 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>