[PATCH] Fix spelling errors

Martin Olsson martin at minimum.se
Sat Sep 29 06:13:56 PDT 2012


---
 clients/eventdemo.c  |    4 ++--
 protocol/text.xml    |    2 +-
 src/compositor-drm.c |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/clients/eventdemo.c b/clients/eventdemo.c
index 569a8c1..e59b076 100644
--- a/clients/eventdemo.c
+++ b/clients/eventdemo.c
@@ -210,7 +210,7 @@ key_handler(struct window *window, struct input *input, uint32_t time,
  * \brief CALLBACK function, Wayland informs about button event
  * \param widget widget
  * \param input input device that caused the button event
- * \param time time the event happend
+ * \param time time the event happened
  * \param button button
  * \param state pressed or released
  * \param data user data associated to the window
@@ -259,7 +259,7 @@ axis_handler(struct widget *widget, struct input *input, uint32_t time,
  * \brief CALLBACK function, Waylands informs about pointer motion
  * \param widget widget
  * \param input input device that caused the motion event
- * \param time time the event happend
+ * \param time time the event happened
  * \param x absolute x position
  * \param y absolute y position
  * \param sx x position relative to the window
diff --git a/protocol/text.xml b/protocol/text.xml
index 5bf1b23..1b3a4b5 100644
--- a/protocol/text.xml
+++ b/protocol/text.xml
@@ -97,7 +97,7 @@
       <description summary="pre-edit">
         Notify when a new composing text (pre-edit) should be set around the
         current cursor position. Any previously set composing text should
-        be removed. It also sets the cursor positon (as byte index) relative
+        be removed. It also sets the cursor position (as byte index) relative
         to the start of the composing text.
       </description>
       <arg name="text" type="string"/>
diff --git a/src/compositor-drm.c b/src/compositor-drm.c
index e41254b..96d6611 100644
--- a/src/compositor-drm.c
+++ b/src/compositor-drm.c
@@ -667,7 +667,7 @@ drm_output_prepare_overlay_surface(struct weston_output *output_base,
 
 	/*
 	 * Calculate the source & dest rects properly based on actual
-	 * postion (note the caller has called weston_surface_update_transform()
+	 * position (note the caller has called weston_surface_update_transform()
 	 * for us already).
 	 */
 	pixman_region32_init(&dest_rect);
-- 
1.7.9.5



More information about the wayland-devel mailing list