[Wayland-bugs] [Bug 762713] [Wayland] GDK doesn't remember unmaximized or unfullscreen size

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Fri Feb 26 08:33:02 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=762713

--- Comment #2 from Jonas Ã…dahl <jadahl at gmail.com> ---
(In reply to Olivier Fourdan from comment #1)
> 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.

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).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20160226/17f8e2b8/attachment.html>


More information about the wayland-bugs mailing list