<p dir="ltr">Rusty,<br>
Is there a particular reason for adding another request that's basically identical to "move"? Couldn't we just bump the protocol version and allow the clients to respond to touch events with a move request? The compositor could sort out what kind of event it is based on the serial.</p>
<p dir="ltr">--Jason Ekstrand<br></p>
<p dir="ltr">On Aug 14, 2013 12:51 PM, "Rusty Lynch" <<a href="mailto:rusty.lynch@intel.com">rusty.lynch@intel.com</a>> wrote:<br>
><br>
> From d1d0df0688650ea23a1c5c788f7d7bbf3e7e034c Mon Sep 17 00:00:00 2001<br>
> From: Rusty Lynch <<a href="mailto:rusty.lynch@intel.com">rusty.lynch@intel.com</a>><br>
> Date: Wed, 14 Aug 2013 08:06:39 -0700<br>
> Subject: [PATCH] Add protocol support for wl_shell_surface_touch_move<br>
><br>
> ---<br>
> protocol/wayland.xml | 12 ++++++++++++<br>
> 1 file changed, 12 insertions(+)<br>
><br>
> diff --git a/protocol/wayland.xml b/protocol/wayland.xml<br>
> index d7bbbb9..b106dcf 100644<br>
> --- a/protocol/wayland.xml<br>
> +++ b/protocol/wayland.xml<br>
> @@ -916,6 +916,18 @@<br>
> <arg name="class_" type="string"/><br>
> </request><br>
><br>
> + <request name="touch_move"><br>
> + <description summary="start an interactive touch based move"><br>
> + Start a touch-driven move of the surface.<br>
> +<br>
> + This request must be used in response to a touch down event.<br>
> + The server may ignore move requests depending on the state of<br>
> + the surface (e.g. fullscreen or maximized).<br>
> + </description><br>
> + <arg name="seat" type="object" interface="wl_seat" summary="the wl_seat associated with the touch"/><br>
> + <arg name="serial" type="uint" summary="serial of the implicit grab on the touch"/><br>
> + </request><br>
> +<br>
> <event name="ping"><br>
> <description summary="ping client"><br>
> Ping a client to check if it is receiving events and sending<br>
> --<br>
> 1.8.3.1<br>
><br>
><br>
><br>
> _______________________________________________<br>
> wayland-devel mailing list<br>
> <a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
</p>