mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
docs: Document granularity of timestamps
This information is necessary to make any use of these fields.
This commit is contained in:
parent
c7639228b4
commit
c110fbcb75
1 changed files with 12 additions and 8 deletions
|
|
@ -543,7 +543,7 @@
|
||||||
is provided by the x an y arguments, in surface local
|
is provided by the x an y arguments, in surface local
|
||||||
coordinates.
|
coordinates.
|
||||||
</description>
|
</description>
|
||||||
<arg name="time" type="uint"/>
|
<arg name="time" type="uint" summary="timestamp with millisecond granularity"/>
|
||||||
<arg name="x" type="fixed"/>
|
<arg name="x" type="fixed"/>
|
||||||
<arg name="y" type="fixed"/>
|
<arg name="y" type="fixed"/>
|
||||||
</event>
|
</event>
|
||||||
|
|
@ -1248,7 +1248,7 @@
|
||||||
focused surface.
|
focused surface.
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<arg name="time" type="uint"/>
|
<arg name="time" type="uint" summary="timestamp with millisecond granularity"/>
|
||||||
<arg name="surface_x" type="fixed"/>
|
<arg name="surface_x" type="fixed"/>
|
||||||
<arg name="surface_y" type="fixed"/>
|
<arg name="surface_y" type="fixed"/>
|
||||||
</event>
|
</event>
|
||||||
|
|
@ -1268,10 +1268,12 @@
|
||||||
|
|
||||||
The location of the click is given by the last motion or
|
The location of the click is given by the last motion or
|
||||||
enter event.
|
enter event.
|
||||||
|
The time argument is a timestamp with millisecond
|
||||||
|
granularity, with an undefined base.
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<arg name="serial" type="uint"/>
|
<arg name="serial" type="uint"/>
|
||||||
<arg name="time" type="uint"/>
|
<arg name="time" type="uint" summary="timestamp with millisecond granularity"/>
|
||||||
<arg name="button" type="uint"/>
|
<arg name="button" type="uint"/>
|
||||||
<arg name="state" type="uint"/>
|
<arg name="state" type="uint"/>
|
||||||
</event>
|
</event>
|
||||||
|
|
@ -1304,7 +1306,7 @@
|
||||||
scroll distance.
|
scroll distance.
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<arg name="time" type="uint"/>
|
<arg name="time" type="uint" summary="timestamp with millisecond granularity"/>
|
||||||
<arg name="axis" type="uint"/>
|
<arg name="axis" type="uint"/>
|
||||||
<arg name="value" type="fixed"/>
|
<arg name="value" type="fixed"/>
|
||||||
</event>
|
</event>
|
||||||
|
|
@ -1367,10 +1369,12 @@
|
||||||
<event name="key">
|
<event name="key">
|
||||||
<description summary="key event">
|
<description summary="key event">
|
||||||
A key was pressed or released.
|
A key was pressed or released.
|
||||||
|
The time argument is a timestamp with millisecond
|
||||||
|
granularity, with an undefined base.
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<arg name="serial" type="uint"/>
|
<arg name="serial" type="uint"/>
|
||||||
<arg name="time" type="uint"/>
|
<arg name="time" type="uint" summary="timestamp with millisecond granularity"/>
|
||||||
<arg name="key" type="uint"/>
|
<arg name="key" type="uint"/>
|
||||||
<arg name="state" type="uint"/>
|
<arg name="state" type="uint"/>
|
||||||
</event>
|
</event>
|
||||||
|
|
@ -1407,7 +1411,7 @@
|
||||||
of its surfaces.
|
of its surfaces.
|
||||||
</description>
|
</description>
|
||||||
<arg name="serial" type="uint"/>
|
<arg name="serial" type="uint"/>
|
||||||
<arg name="time" type="uint"/>
|
<arg name="time" type="uint" summary="timestamp with millisecond granularity"/>
|
||||||
<arg name="surface" type="object" interface="wl_surface"/>
|
<arg name="surface" type="object" interface="wl_surface"/>
|
||||||
<arg name="id" type="int" summary="ID of the touch sequence"/>
|
<arg name="id" type="int" summary="ID of the touch sequence"/>
|
||||||
<arg name="x" type="fixed"/>
|
<arg name="x" type="fixed"/>
|
||||||
|
|
@ -1419,7 +1423,7 @@
|
||||||
Notifies the client that a touch has ended.
|
Notifies the client that a touch has ended.
|
||||||
</description>
|
</description>
|
||||||
<arg name="serial" type="uint"/>
|
<arg name="serial" type="uint"/>
|
||||||
<arg name="time" type="uint"/>
|
<arg name="time" type="uint" summary="timestamp with millisecond granularity"/>
|
||||||
<arg name="id" type="int"/>
|
<arg name="id" type="int"/>
|
||||||
</event>
|
</event>
|
||||||
|
|
||||||
|
|
@ -1428,7 +1432,7 @@
|
||||||
Notifies the client that the position of a contact point
|
Notifies the client that the position of a contact point
|
||||||
has changed.
|
has changed.
|
||||||
</description>
|
</description>
|
||||||
<arg name="time" type="uint"/>
|
<arg name="time" type="uint" summary="timestamp with millisecond granularity"/>
|
||||||
<arg name="id" type="int" summary="ID of the touch sequence"/>
|
<arg name="id" type="int" summary="ID of the touch sequence"/>
|
||||||
<arg name="x" type="fixed"/>
|
<arg name="x" type="fixed"/>
|
||||||
<arg name="y" type="fixed"/>
|
<arg name="y" type="fixed"/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue