diff options
author | Jonas Ådahl <jadahl@gmail.com> | 2015-08-20 11:29:23 +0800 |
---|---|---|
committer | Jonas Ådahl <jadahl@gmail.com> | 2015-08-22 00:04:33 +0800 |
commit | e76c3ecb008ac079925b4cf4110c26e9f2f1a01c (patch) | |
tree | dcc39d01bbfb2aa688c161d855ddfd723b15accc /src/wayland/protocol | |
parent | 637be80c86996353176644e8527f6f06a4a7a084 (diff) | |
download | mutter-e76c3ecb008ac079925b4cf4110c26e9f2f1a01c.tar.gz |
wayland/pointer-gestures: Send error on protocol version mismatch
When a client binds an incompatible version, we should terminate it.
This check should only be there for the unstable version, as once it is
declared stable and renamed, future versions will be backward compatible.
https://bugzilla.gnome.org/show_bug.cgi?id=753855
Diffstat (limited to 'src/wayland/protocol')
-rw-r--r-- | src/wayland/protocol/pointer-gestures.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wayland/protocol/pointer-gestures.xml b/src/wayland/protocol/pointer-gestures.xml index 1bca8f7ed..041bf1401 100644 --- a/src/wayland/protocol/pointer-gestures.xml +++ b/src/wayland/protocol/pointer-gestures.xml @@ -16,6 +16,10 @@ name and the version will be reset to 1. </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 |