From 47bbc6bb9c10409a0bab5110baee50c78c9e9bd5 Mon Sep 17 00:00:00 2001 From: Jonas Ådahl Date: Sun, 19 Jan 2014 10:32:11 +0100 Subject: protocol: Clarify semantics of wl_subsurface.set_position MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make it clear that multiple requests before commit are allowed and how it is handled. Signed-off-by: Jonas Ådahl Reviewed-by: Jasper St. Pierre --- protocol/wayland.xml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'protocol') 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. -- cgit v1.2.3