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

Olivier Fourdan ofourdan at redhat.com
Wed Apr 6 16:59:04 UTC 2016


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.
> 
> Is "zero" the same as "never set"? If so, I would rephrase this so
> that it's clearer about that. If not, we need a way of resetting back
> to the unspecified state.

Yes, a client may choose to set a value for width and not height for example, using 0 as the preferred height, or unset previously set values by using 0 for width and height.

How would you rephrase to make that clearer?

Cheers,
Olivier


More information about the wayland-devel mailing list