[Wayland-bugs] [Bug 757530] GtkWindow reacts on maximize action even if it is fixed-width

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Wed Nov 4 05:19:12 PST 2015


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

--- Comment #2 from Olivier Fourdan <ofourdan at redhat.com> ---
Created attachment 314813
  --> https://bugzilla.gnome.org/attachment.cgi?id=314813&action=edit
[PATCH 1/3] wayland: do not maximize a window if constrained

If a window is constrained to a size smaller than the monitor size, maximizing
that window will not resize the window to the expected size.

Make sure the window can be resized to match the size of the monitor, and
refuse to maximize the window if its constrains are smaller than the expected
size once maximized.

This is an approximation though, because the actual size of the window once
maximized will most likely be slightly smaller that the monitor size because of
the docks.

_Note_ I am not entirely sure this patch is strictly necessary to address the
issue reported in this bug 757530, it should work with just the next two
patches alone.

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


More information about the wayland-bugs mailing list