Merge branch 'serials-are-opaque' into 'main'

doc, protocol: Clarify that serial numbers are opaque

See merge request wayland/wayland!204
This commit is contained in:
Mikhail Gusarov 2024-04-22 04:21:27 +00:00
commit 156bf2f847
2 changed files with 3 additions and 3 deletions

View file

@ -368,8 +368,8 @@
trigger further requests (such as button presses, key events,
pointer motions) carry serial numbers, and requests such as
wl_surface.set_popup require that the serial number of the
triggering event is specified. The server maintains a
monotonically increasing counter for these serial numbers.
triggering event is specified. Serial numbers are opaque,
clients should not assign any meaning to them.
</para>
<para>
Input events also carry timestamps with millisecond granularity.

View file

@ -46,7 +46,7 @@
compositor after the callback is fired and as such the client must not
attempt to use it after that point.
The callback_data passed in the callback is the event serial.
The callback_data passed in the callback is not specified.
</description>
<arg name="callback" type="new_id" interface="wl_callback"
summary="callback object for the sync request"/>