New description and error

This commit is contained in:
Marco Martin 2024-01-26 10:20:13 +01:00
parent 4036454a7e
commit 57928e1603

View File

@ -367,6 +367,7 @@
<entry name="invalid_size" value="1" summary="size is invalid"/>
<entry name="invalid_anchor" value="2" summary="anchor bitfield is invalid"/>
<entry name="invalid_keyboard_interactivity" value="3" summary="keyboard interactivity is invalid"/>
<entry name="invalid_exclusive_edge" value="4" summary="exclusive edge is invalid given the surface anchors"/>
</enum>
<enum name="anchor" bitfield="true">
@ -391,13 +392,14 @@
<request name="set_exclusive_edge" since="5">
<description summary="set the edge the exclusive zone will be applied to">
Requests an edge for the exclusive zone to apply.
The edge must be one the surface is anchored to, otherwise a protocol
error will be raised.
The exclusive edge will be automatically deduced from anchor points
when possible, but when when the surface is anchored to a corner,
it will be necessary to set it explicitly to disambiguate, as is not
possible to deduce which one of the two corner edges should be used.
Requests an edge for the exclusive zone to apply. The exclusive
edge will be automatically deduced from anchor points when possible,
but when the surface is anchored to a corner, it will be necessary
to set it explicitly to disambiguate, as it is not possible to deduce
which one of the two corner edges should be used.
The edge must be one the surface is anchored to, otherwise the
invalid_exclusive_edge protocol error will be raised.
</description>
<arg name="edge" type="uint"/>
</request>