<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [Wayland] GDK doesn't remember unmaximized or unfullscreen size"
href="https://bugzilla.gnome.org/show_bug.cgi?id=762713#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [Wayland] GDK doesn't remember unmaximized or unfullscreen size"
href="https://bugzilla.gnome.org/show_bug.cgi?id=762713">bug 762713</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>(In reply to Olivier Fourdan from <a href="show_bug.cgi?id=762713#c1">comment #1</a>)
<span class="quote">> The problem might be because either fullscreen and maximized windows don't
> have shadows whereas normal state windows normally have shadows, and with
> CSD, shadows are part of the toplevel gdkwindow size, so that makes such
> transitions a tad more tricky.
>
> I need to look further into this, I'll give it a try.</span >
Not so sure about that. I added a function "gdk_wayland_window_remember_size()"
which only would remember if the window state was not fullscreen and not
maximized. The size difference of width/height I saw the
unfullscreen/unmaximized sizes (around 400-500, where fullscreen were around
1024x768) +- ~50 or something (shadow width I'm assuming).</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>