[PATCH wayland-protocols 13/19] pointer-constraints: Correct spelling, grammar and consistency

Yong Bakos junk at humanoriented.com
Mon Apr 11 22:23:00 UTC 2016


From: Yong Bakos <ybakos at humanoriented.com>

Downcase the protocol summary description to match other protocols.
Replace 'surface-relative' with 'surface local' for consistency and clarity.

Signed-off-by: Yong Bakos <ybakos at humanoriented.com>
---
 .../pointer-constraints-unstable-v1.xml                  | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml b/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml
index 6d090e5..3787b9e 100644
--- a/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml
+++ b/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml
@@ -25,12 +25,12 @@
     DEALINGS IN THE SOFTWARE.
   </copyright>
 
-  <description summary="Protocol for constraining pointer motions">
+  <description summary="protocol for constraining pointer motions">
     This protocol specifies a set of interfaces used for adding constraints to
     the motion of a pointer. Possible constraints include confining pointer
     motions to a given region, or locking it to its current position.
 
-    In order to contrain the pointer, a client must first bind the global
+    In order to constrain the pointer, a client must first bind the global
     interface "wp_pointer_constraints" which, if a compositor supports pointer
     constraints, is exposed by the registry. Using the bound global object, the
     client uses the request that corresponds to the type of constraint it wants
@@ -38,9 +38,9 @@
 
     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
+    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
+    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.
@@ -49,7 +49,7 @@
   <interface name="zwp_pointer_constraints_v1" version="1">
     <description summary="constrain the movement of a pointer">
       The global interface exposing pointer constraining functionality. It
-      exposes two requests; lock_pointer for locking the pointer to its
+      exposes two requests: lock_pointer for locking the pointer to its
       position, and confine_pointer for locking the pointer to a region.
 
       The lock_pointer and confine_pointer requests create the objects
@@ -75,7 +75,7 @@
     <enum name="lifetime">
       <description summary="constraint lifetime">
 	These values represent different lifetime semantics. They are passed
-	as argument to the factory requests to specify how the constraint
+	as arguments to the factory requests to specify how the constraint
 	lifetimes should be managed.
       </description>
       <entry name="oneshot" value="1">
@@ -233,9 +233,9 @@
       </description>
 
       <arg name="surface_x" type="fixed"
-	   summary="x coordinate in surface-relative coordinates"/>
+	   summary="x coordinate in surface local coordinates"/>
       <arg name="surface_y" type="fixed"
-	   summary="y coordinate in surface-relative coordinates"/>
+	   summary="y coordinate in surface local coordinates"/>
     </request>
 
     <request name="set_region">
-- 
2.7.2



More information about the wayland-devel mailing list