Merge branch 'shell-invalid-anchor' into 'main'

Generate an error if an invalid anchor is provided.

See merge request wayland/wayland-protocols!507
This commit is contained in:
Robert Ancell 2026-05-12 13:03:30 +00:00
commit ae9537b338

View file

@ -205,6 +205,7 @@
'bottom_right'), the anchor point will be at the specified corner;
otherwise, the derived anchor point will be centered on the specified
edge, or in the center of the anchor rectangle if no edge is specified.
If the anchor is not in the anchor enum, an invalid_input error is raised.
</description>
<arg name="anchor" type="uint" enum="anchor"
summary="anchor point"/>