[PATCH weston 1/2] input-method: Fix typo in description

Daiki Ueno ueno at gnu.org
Wed Feb 26 01:21:04 PST 2014


---
 protocol/input-method.xml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/protocol/input-method.xml b/protocol/input-method.xml
index 70afdcb..448440e 100644
--- a/protocol/input-method.xml
+++ b/protocol/input-method.xml
@@ -29,7 +29,7 @@
   <interface name="wl_input_method_context" version="1">
     <description summary="input method context">
       Corresponds to a text model on input method side. An input method context
-      is created on text mode activation on the input method side. It allows to
+      is created on text model activation on the input method side. It allows to
       receive information about the text model from the application via events.
       Input method contexts do not keep state after deactivation and should be
       destroyed after deactivation is handled.
@@ -67,7 +67,7 @@
         example on unfocus).
 
         Also previously sent preedit_style and preedit_cursor requests are
-        processed bt the text_input also.
+        processed by the text_input also.
       </description>
       <arg name="serial" type="uint" summary="serial of the latest known text input state"/>
       <arg name="text" type="string"/>
@@ -110,7 +110,7 @@
     <request name="cursor_position">
       <description summary="set cursor to a new position">
         Sets the cursor and anchor to a new position. Index is the new cursor
-        position in bytess (when >= 0 relative to the end of inserted text
+        position in bytes (when >= 0 relative to the end of inserted text
         else relative to beginning of inserted text). Anchor is the new anchor
         position in bytes (when >= 0 relative to the end of inserted text, else
         relative to beginning of inserted text). When there should be no
@@ -129,7 +129,7 @@
       <description summary="keysym">
         Notify when a key event was sent. Key events should not be used for
         normal text input operations, which should be done with commit_string,
-        delete_surrounfing_text, etc. The key event follows the wl_keyboard key
+        delete_surrounding_text, etc. The key event follows the wl_keyboard key
         event convention. Sym is a XKB keysym, state a wl_keyboard key_state.
       </description>
       <arg name="serial" type="uint" summary="serial of the latest known text input state"/>
@@ -257,7 +257,7 @@
 
     <request name="set_toplevel">
       <description summary="set the surface type as a keyboard">
-	A keybaord surface is only shown, when a text model is active
+	A keyboard surface is only shown, when a text model is active
       </description>
       <arg name="output" type="object" interface="wl_output"/>
       <arg name="position" type="uint"/>
-- 
1.9.0.rc3



More information about the wayland-devel mailing list