wayland/protocol
Mikhail Gusarov 1aa210fd29 doc, protocol: Clarify that serial numbers are opaque
Specification does not tell anything about behavior of
serial numbers, except that their values increase. It is
silent about wraparounds, and therefore does not restrict
compositors at all:

- a compositor that returns constant values may claim
  that it increases them by 2**32,
- a compositor that returns decreasing values may claim
  that it increases them by 2**32-1,
- a compositor that returns random values may claim that
  it increases them by 2**32+rand32().

Therefore:
- drop the useless wording about increasing numbers,
- do not specify that wl_display::sync returns the
  event serial number. This serial number cannot be
  passed to any request and hence is useless.

Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>
2022-09-17 08:40:01 +00:00
..
.gitignore Update .gitignore for protocol/ 2013-11-19 13:26:04 -08:00
generate-shm-formats.py Add an automated script to update wl_shm.format 2019-09-06 12:09:22 +00:00
tests.xml Replace initial 8 spaces with a tab for all xml files 2020-04-29 12:21:33 +00:00
wayland.dtd protocol: Add type attribute to events 2021-01-27 17:49:10 +00:00
wayland.xml doc, protocol: Clarify that serial numbers are opaque 2022-09-17 08:40:01 +00:00