protocol: fix key event and related comments

This commit is contained in:
Tiago Vignatti 2011-07-14 18:56:51 +03:00 committed by Kristian Høgsberg
parent a9ef785cf8
commit 068ba750ca

View file

@ -10,9 +10,9 @@
<arg name="version" type="uint"/> <arg name="version" type="uint"/>
</request> </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 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 The key argument can be used to correlate between multiple
sync invocations. --> sync invocations. -->
<request name="sync"> <request name="sync">
@ -70,7 +70,7 @@
<!-- A reply to the frame or sync request. The key is the one <!-- A reply to the frame or sync request. The key is the one
used in the request. time is in millisecond units, and used in the request. time is in millisecond units, and
denotes the time when the frame was posted on the 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. --> how much to advance animations and compensate for jitter. -->
<event name="key"> <event name="key">
<arg name="key" type="uint"/> <arg name="key" type="uint"/>