Add a new setExclusiveEdge call in the protocol

This can be used to disambiguate the exclusive edge when the anchors are
on a corner (so there  would be 2 candidates)

it's quite quick and dirty mostly to understand if we do want to push
for something along the lines
This commit is contained in:
Marco Martin
2023-12-21 15:38:31 +01:00
parent f1e50306f8
commit 2e7933cc8d
5 changed files with 35 additions and 0 deletions

View File

@ -187,6 +187,10 @@
<arg name="zone" type="int"/>
</request>
<request name="set_exclusive_edge">
<arg name="edge" type="uint"/>
</request>
<request name="set_margin">
<description summary="sets a margin from the anchor point">
Requests that the surface be placed some distance away from the anchor