[PATCH] xdg-shell: add set_max_size request

Olivier Fourdan ofourdan at redhat.com
Tue Apr 5 06:58:11 UTC 2016


Hi all,

----- Original Message -----
> On Mon, 04 Apr 2016 19:44:58 +0000 "Jasper St. Pierre"
> <jstpierre at mecheye.net>
> said:
> 
> > I think min/max hints are acceptable in xdg-shell.
> 
> i agree. they are realistic things a apps have as constraints on their
> content.
> knowing in advance what those constraints might be can make life for a
> compositor much easier.

So, it seems max/min "hints" can be desirable from a window/compositor manager point of view, whereas things like aspect ratio, size steppings, etc. aren't

I'll send an updated patch to:

 - Reword the description and request name to make it clearer that it really is a preference and not a rule (Quentin mentioned that on irc yesterday), without using the word "hint" :)
 - add a similar "preferable min size" request

Then we can continue discussing from there.

Cheers,
Olivier
 


More information about the wayland-devel mailing list