[PATCH] xdg-shell: add set_max_size request
Jasper St. Pierre
jstpierre at mecheye.net
Tue Apr 5 07:00:08 UTC 2016
"hint" just means "don't bother setting this flag, since it won't do anything".
If we want min/max size rules, I want them to be enforced. Compositors
SHOULD NOT attempt to configure windows above or below the requested
size.
On Mon, Apr 4, 2016 at 11:58 PM, Olivier Fourdan <ofourdan at redhat.com> wrote:
> 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
>
--
Jasper
More information about the wayland-devel
mailing list