[Wayland-bugs] [Bug 777072] window shrinks when restored from maximized
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Wed Jun 21 13:08:21 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=777072
--- Comment #5 from Olivier Fourdan <ofourdan at redhat.com> ---
Created attachment 354151
--> https://bugzilla.gnome.org/attachment.cgi?id=354151&action=edit
[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.
--
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/20170621/b041dd42/attachment.html>
More information about the wayland-bugs
mailing list