Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(706)

Unified Diff: third_party/wayland-protocols/unstable/stylus/stylus-unstable-v1.xml

Issue 2575693002: wayland-protocols: Add pointer_stylus_exists error to zcr_stylus_v1 interface. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/wayland-protocols/protocol/stylus-protocol.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/wayland-protocols/unstable/stylus/stylus-unstable-v1.xml
diff --git a/third_party/wayland-protocols/unstable/stylus/stylus-unstable-v1.xml b/third_party/wayland-protocols/unstable/stylus/stylus-unstable-v1.xml
index a7534eb3b5980ee4248c92a18d8d22b1a509e881..fbb7112adcd165738ce572091f21266689d2844f 100644
--- a/third_party/wayland-protocols/unstable/stylus/stylus-unstable-v1.xml
+++ b/third_party/wayland-protocols/unstable/stylus/stylus-unstable-v1.xml
@@ -24,7 +24,7 @@
DEALINGS IN THE SOFTWARE.
</copyright>
- <interface name="zcr_stylus_v1" version="1">
+ <interface name="zcr_stylus_v1" version="2">
<description summary="extends wl_pointer with events for on-screen stylus">
Allows a wl_pointer to represent an on-screen stylus. The client can
interpret the on-screen stylus like any other mouse device, and use
@@ -44,10 +44,16 @@
interface version number is reset.
</description>
+ <enum name="error">
+ <entry name="pointer_stylus_exists" value="0"
+ summary="the pointer already has a pointer_stylus object associated"/>
+ </enum>
+
<request name="get_pointer_stylus">
<description summary="get stylus interface for pointer">
Create pointer_stylus object. See zcr_pointer_stylus_v1 interface for
- details.
+ details. If the given wl_pointer already has a pointer_stylus object
+ associated, the pointer_stylus_exists protocol error is raised.
</description>
<arg name="id" type="new_id" interface="zcr_pointer_stylus_v1"/>
<arg name="pointer" type="object" interface="wl_pointer"/>
« no previous file with comments | « third_party/wayland-protocols/protocol/stylus-protocol.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698