Re: [PATCH v2] xdg-shell: add preferred min/max size requests

2016-04-06 Thread Jonas Ã…dahl
Hi, If we want this in an initial minimalistic xdg_shell version, this needs to be targetted at xdg_shell unstable v6, which currently lives on a branch and as set of proposed patches. We cannot add this to version 5 anyhow. If we indeed want this in the core protocol now, and not in some

Re: [PATCH v2] xdg-shell: add preferred min/max size requests

2016-04-06 Thread Olivier Fourdan
Hi Jasper, > > [...] > > + > > +If never set, the size of the surface is not limited by the > > client. > > + > > +A value of zero for either width, height or both means that the > > +client has no preference regarding the maximum size in the given > > +dimension.

Re: [PATCH v2] xdg-shell: add preferred min/max size requests

2016-04-06 Thread Jasper St. Pierre
On Tue, Apr 5, 2016 at 2:36 AM, Olivier Fourdan wrote: > Some application may wish to restrict their window in size, but > xdg-shell has no mechanism for the client to advertise such a maximum > or minimum size the compositor can use. > > As a result, the compositor may try

Re: [PATCH v2] xdg-shell: add preferred min/max size requests

2016-04-06 Thread Pekka Paalanen
On Wed, 6 Apr 2016 04:03:31 -0400 (EDT) Olivier Fourdan wrote: > Hi Bill, > > > I think it would be ok to set both the minimum and maximum with a single > > request. > > Yes, agreed. Why, what good does it do? We have regretted before of putting two different things in

Re: [PATCH v2] xdg-shell: add preferred min/max size requests

2016-04-06 Thread Olivier Fourdan
Hi Bill, > I think it would be ok to set both the minimum and maximum with a single > request. Yes, agreed. Cheers, Olivier ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org

[PATCH v2] xdg-shell: add preferred min/max size requests

2016-04-05 Thread Olivier Fourdan
Some application may wish to restrict their window in size, but xdg-shell has no mechanism for the client to advertise such a maximum or minimum size the compositor can use. As a result, the compositor may try to maximize or fullscreen a window while the client would not allow for the requested