[PATCH v6 xdg-shell-unstable-v6] xdg-shell: Add min/max size requests

Jonas Ådahl jadahl at gmail.com
Sat Apr 16 01:53:23 UTC 2016


On Fri, Apr 15, 2016 at 03:46:43AM -0400, Olivier Fourdan wrote:
> 
> Hi,
> 
> ----- Original Message -----
> > On Thu, Apr 14, 2016 at 1:56 AM, Jonas Ådahl <jadahl at gmail.com> wrote:
> > 
> > >
> > > This makes it sound like the compositor will have to obay the limits.
> > > Did we end up with requiring that a correctly working compositor never
> > > tries to configure a size that is not within the set bounds? I think it
> > > should be cleared out anyhow, what the client can rely upon here anyhow.
> > >
> > 
> > No the compositor is not required to obey the limits! This whole discussion
> > was based on examples of tiled window management and complaints about the
> > calculator being ugly due to being scaled, compared to X11 where the tiled
> > window manager requested sizes outside the size range, and the client
> > obeyed it.
> [...]
> > If the compositor cannot request a larger size then all these patches are
> > entirely pointless!!!
> 
> Seems everyone has a different idea and a consensus might be hardly achievable here.
> 
> Thing is, the client still have the option of not ack'ing the configure event, so the final word is (and remains) with the client, that's it.
> 
> Considering this, not sure we need to rephrase the description once again.

Given that different people have a different idea of how this is
supposed to work, we need to make it very clear of what the correct
interpretation is. Leaving it as vague as it right now is doesn't seem
like a good idea. Either it is purely a polite suggestion, or it is an
actual limit, and to me it the current description doesn't communicate
this very clearly.


Jonas

> 
> Cheers,
> Olivier


More information about the wayland-devel mailing list