protocol: fix key event and related comments
authorTiago Vignatti <tiago.vignatti@intel.com>
Thu, 14 Jul 2011 15:56:51 +0000 (18:56 +0300)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 15 Jul 2011 19:04:50 +0000 (15:04 -0400)
protocol/wayland.xml

index fec9135..79bb3ea 100644 (file)
@@ -10,9 +10,9 @@
       <arg name="version" type="uint"/>
     </request>
 
-    <!-- sync is an just an echo, which will reply with a sync event.
+    <!-- sync is an just an echo, which will reply with a key event.
          Since requests are handled in-order, this can be used as a
-         barrier to ensure all previous requests have ben handled.
+         barrier to ensure all previous requests have been handled.
          The key argument can be used to correlate between multiple
          sync invocations. -->
     <request name="sync">
@@ -70,7 +70,7 @@
     <!-- A reply to the frame or sync request.  The key is the one
          used in the request.  time is in millisecond units, and
          denotes the time when the frame was posted on the
-         display. time can be used to estimaate frame rate, determine
+         display. time can be used to estimate frame rate, determine
          how much to advance animations and compensate for jitter. -->
     <event name="key">
       <arg name="key" type="uint"/>