[PATCH wayland 2/2] protocol: Clarify semantics of wl_subsurface.set_position

Jasper St. Pierre jstpierre at mecheye.net
Sun Jan 19 08:56:19 PST 2014


Reviewed-by: Jasper St. Pierre <jstpierre at mecheye.net>


On Sun, Jan 19, 2014 at 4:32 AM, Jonas Ådahl <jadahl at gmail.com> wrote:

> Make it clear that multiple requests before commit are allowed and how it
> is handled.
>
> Signed-off-by: Jonas Ådahl <jadahl at gmail.com>
> ---
>  protocol/wayland.xml | 4 ++++
>  1 file changed, 4 insertions(+)
>
> 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>
>
> --
> 1.8.3.2
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>



-- 
  Jasper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20140119/914af06b/attachment.html>


More information about the wayland-devel mailing list