[PATCH v4 xdg-shell-unstable-v6] xdg-shell: add preferred min/max size requests

Olivier Fourdan ofourdan at redhat.com
Fri Apr 8 06:42:53 UTC 2016


Hi

> I see no reason for "preferred" to be in the name. There is no intention to
> be able to ever specify a "real" min/max size so this word does not
> distinguish the values from any thing else.

This was asked explicitly on irc #wayland last Monday (iirc) by SardemFF7.

This is not to distinguish from a "real" min/max size, this is intended to make it very clear even in the request name that this is by no mean enforceable by the client.

In other words, it's just a hint (just that we can't use hint as this is dirty word nowadays ^_~)

> Also if these remain two calls, the compositor must allow the maximum to be
> less than the minimum, at least temporarily between the calls.

I reckon this is the compositor implementation, not sure this should be in the spec.

Cheers,
Olivier


More information about the wayland-devel mailing list