diff options
author | Jonas Ådahl <jadahl@gmail.com> | 2015-10-20 09:33:17 +0800 |
---|---|---|
committer | Jonas Ådahl <jadahl@gmail.com> | 2015-10-21 11:28:59 +0800 |
commit | cfa9171725f867cc06b409223890b6bfb28eebdc (patch) | |
tree | 4a2fa933f79291841b5488e55b672b0b24fa99bc | |
parent | a68a17ddc9b7a447f849833096b10aac44e97960 (diff) | |
download | wayland-protocols-cfa9171725f867cc06b409223890b6bfb28eebdc.tar.gz |
pointer-gestures: Use the new unstable naming schema
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
-rw-r--r-- | unstable/pointer-gestures/pointer-gestures-unstable-v1.xml | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/unstable/pointer-gestures/pointer-gestures-unstable-v1.xml b/unstable/pointer-gestures/pointer-gestures-unstable-v1.xml index f7c7790..7f7b93f 100644 --- a/unstable/pointer-gestures/pointer-gestures-unstable-v1.xml +++ b/unstable/pointer-gestures/pointer-gestures-unstable-v1.xml @@ -1,5 +1,5 @@ <protocol name="pointer_gestures_unstable_v1"> - <interface name="_wl_pointer_gestures" version="1"> + <interface name="zwl_pointer_gestures1" version="1"> <description summary="touchpad gestures"> A global interface to provide semantic touchpad gestures for a given pointer. @@ -8,24 +8,22 @@ All gestures follow a three-stage cycle: begin, update, end and are identified by a unique id. - Warning! The protocol described in this file is experimental. Each - version of this protocol should be considered incompatible with any - other version, and a client binding to a version different to the one - advertised will be terminated. Once the protocol is declared stable, - compatibility is guaranteed, the '_' prefix will be removed from the - name and the version will be reset to 1. + Warning! The protocol described in this file is experimental and + backward incompatible changes may be made. Backward compatible changes + may be added together with the corresponding interface version bump. + Backward incompatible changes are done by bumping the version number in + the protocol and interface names and resetting the interface version. + 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> - <enum name="error"> - <entry name="version_mismatch" value="0"/> - </enum> - <request name="get_swipe_gesture"> <description summary="get swipe gesture"> Create a swipe gesture object. See the wl_pointer_gesture_swipe interface for details. </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"/> </request> @@ -34,12 +32,12 @@ Create a pinch gesture object. See the wl_pointer_gesture_pinch interface for details. </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"/> </request> </interface> - <interface name="_wl_pointer_gesture_swipe" version="1"> + <interface name="zwl_pointer_gesture_swipe1" version="1"> <description summary="a swipe gesture object"> A swipe gesture object notifies a client about a multi-finger swipe gesture detected on an indirect input device such as a touchpad. @@ -102,7 +100,7 @@ </event> </interface> - <interface name="_wl_pointer_gesture_pinch" version="1"> + <interface name="zwl_pointer_gesture_pinch1" version="1"> <description summary="a pinch gesture object"> A pinch gesture object notifies a client about a multi-finger pinch gesture detected on an indirect input device such as a touchpad. |