pointer-gestures: Use the new unstable naming schema

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
This commit is contained in:
Jonas Ådahl 2015-10-20 09:33:17 +08:00
parent a68a17ddc9
commit cfa9171725

View file

@ -1,5 +1,5 @@
<protocol name="pointer_gestures_unstable_v1"> <protocol name="pointer_gestures_unstable_v1">
<interface name="_wl_pointer_gestures" version="1"> <interface name="zwl_pointer_gestures1" version="1">
<description summary="touchpad gestures"> <description summary="touchpad gestures">
A global interface to provide semantic touchpad gestures for a given A global interface to provide semantic touchpad gestures for a given
pointer. pointer.
@ -8,24 +8,22 @@
All gestures follow a three-stage cycle: begin, update, end and All gestures follow a three-stage cycle: begin, update, end and
are identified by a unique id. are identified by a unique id.
Warning! The protocol described in this file is experimental. Each Warning! The protocol described in this file is experimental and
version of this protocol should be considered incompatible with any backward incompatible changes may be made. Backward compatible changes
other version, and a client binding to a version different to the one may be added together with the corresponding interface version bump.
advertised will be terminated. Once the protocol is declared stable, Backward incompatible changes are done by bumping the version number in
compatibility is guaranteed, the '_' prefix will be removed from the the protocol and interface names and resetting the interface version.
name and the version will be reset to 1. Once the protocol is to be declared stable, the 'z' prefix and the
version number in the protocol and interface names are removed and the
interface version number is reset.
</description> </description>
<enum name="error">
<entry name="version_mismatch" value="0"/>
</enum>
<request name="get_swipe_gesture"> <request name="get_swipe_gesture">
<description summary="get swipe gesture"> <description summary="get swipe gesture">
Create a swipe gesture object. See the Create a swipe gesture object. See the
wl_pointer_gesture_swipe interface for details. wl_pointer_gesture_swipe interface for details.
</description> </description>
<arg name="id" type="new_id" interface="_wl_pointer_gesture_swipe"/> <arg name="id" type="new_id" interface="zwl_pointer_gesture_swipe1"/>
<arg name="pointer" type="object" interface="wl_pointer"/> <arg name="pointer" type="object" interface="wl_pointer"/>
</request> </request>
@ -34,12 +32,12 @@
Create a pinch gesture object. See the Create a pinch gesture object. See the
wl_pointer_gesture_pinch interface for details. wl_pointer_gesture_pinch interface for details.
</description> </description>
<arg name="id" type="new_id" interface="_wl_pointer_gesture_pinch"/> <arg name="id" type="new_id" interface="zwl_pointer_gesture_pinch1"/>
<arg name="pointer" type="object" interface="wl_pointer"/> <arg name="pointer" type="object" interface="wl_pointer"/>
</request> </request>
</interface> </interface>
<interface name="_wl_pointer_gesture_swipe" version="1"> <interface name="zwl_pointer_gesture_swipe1" version="1">
<description summary="a swipe gesture object"> <description summary="a swipe gesture object">
A swipe gesture object notifies a client about a multi-finger swipe A swipe gesture object notifies a client about a multi-finger swipe
gesture detected on an indirect input device such as a touchpad. gesture detected on an indirect input device such as a touchpad.
@ -102,7 +100,7 @@
</event> </event>
</interface> </interface>
<interface name="_wl_pointer_gesture_pinch" version="1"> <interface name="zwl_pointer_gesture_pinch1" version="1">
<description summary="a pinch gesture object"> <description summary="a pinch gesture object">
A pinch gesture object notifies a client about a multi-finger pinch A pinch gesture object notifies a client about a multi-finger pinch
gesture detected on an indirect input device such as a touchpad. gesture detected on an indirect input device such as a touchpad.