mirror of
https://gitlab.freedesktop.org/wayland/wayland-protocols.git
synced 2026-05-28 13:08:17 +02:00
Generate an error if an invalid anchor is provided.
This matches the gravity behaviour and matches what Mutter currently does. Signed-off-by: Robert Ancell <robert.ancell@canonical.com>
This commit is contained in:
parent
911ab509ed
commit
32b3171594
1 changed files with 1 additions and 0 deletions
|
|
@ -206,6 +206,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"/>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue