summaryrefslogtreecommitdiff
path: root/protocol
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2014-01-19 10:32:11 +0100
committerKristian Høgsberg <krh@bitplanet.net>2014-01-19 22:43:13 -0800
commit47bbc6bb9c10409a0bab5110baee50c78c9e9bd5 (patch)
tree5e836dbcf68a6846bd4d78951a46ccfa811f5784 /protocol
parentb5fb898e92add82f577367fca9091040cd29e3d9 (diff)
protocol: Clarify semantics of wl_subsurface.set_position
Make it clear that multiple requests before commit are allowed and how it is handled. Signed-off-by: Jonas Ådahl <jadahl@gmail.com> Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
Diffstat (limited to 'protocol')
-rw-r--r--protocol/wayland.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index b986c86..d47ee62 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -1931,6 +1931,10 @@
The next wl_surface.commit on the parent surface will reset
the sub-surface's position to the scheduled coordinates.
+ If more than one set_position request is invoked by the client before
+ the commit of the parent surface, the position of a new request always
+ replaces the scheduled position from any previous request.
+
The initial position is 0, 0.
</description>