I have some comments/questions on the current v6 interface which I'd like clarifying before we make it stable.
The Positioner anchor and gravity both takes the edge as a bitfield of flags. It's then part of the protocol to say "If two parallel anchor edges are specified (e.g. 'left' and 'right'), the invalid_input error is raised." I don't understand why we don't use 9 enum values; none, topleft, top, topright etc. as it forbids even the possibility of an invalid input. It's what we do in the top level resize edge. It seems cleaner and safer wtih no drawbacks ---- Also on the positioner, when I have an offset from an anchor what is the intended behaviour in the compositor for applying this if I end up flipping or sliding due to constraints? Any user interface element isn't going to line up after it's constrained in the same axis as the offset...unless we allow clients to specify an offset for every possible constraint. Regards David
_______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel