aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMikhail Gusarov <dottedmag@dottedmag.net>2023-04-22 11:46:19 +0200
committerDaniel Stone <daniels@collabora.com>2024-01-22 12:37:26 +0000
commit88ece8a44d13eb6c00bb1c7c3c7c5a8fce2c3f4b (patch)
tree0abfdba3edbcc26686fc3d3635ade3258fc19130 /doc
parentclient: Allow setting names for queues (diff)
downloadwayland-88ece8a44d13eb6c00bb1c7c3c7c5a8fce2c3f4b.tar
wayland-88ece8a44d13eb6c00bb1c7c3c7c5a8fce2c3f4b.tar.gz
wayland-88ece8a44d13eb6c00bb1c7c3c7c5a8fce2c3f4b.tar.bz2
wayland-88ece8a44d13eb6c00bb1c7c3c7c5a8fce2c3f4b.tar.lz
wayland-88ece8a44d13eb6c00bb1c7c3c7c5a8fce2c3f4b.tar.xz
wayland-88ece8a44d13eb6c00bb1c7c3c7c5a8fce2c3f4b.tar.zst
wayland-88ece8a44d13eb6c00bb1c7c3c7c5a8fce2c3f4b.zip
doc: Improve wording for packed IDs
"is incompatible with the implementation in libwayland" is a common source of confusion as evidenced by repeated discussions in IRC channel. Improve the wording by making clear that - packing IDs is a protocol requirement - there are implementations (including libwayland) that enforce it Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>
Diffstat (limited to 'doc')
-rw-r--r--doc/publican/sources/Protocol.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/publican/sources/Protocol.xml b/doc/publican/sources/Protocol.xml
index 57d8835..89d76d8 100644
--- a/doc/publican/sources/Protocol.xml
+++ b/doc/publican/sources/Protocol.xml
@@ -312,9 +312,10 @@
reserved to represent a null or non-existent object.
For efficiency purposes, the IDs are densely packed in the sense that
- the ID N will not be used until N-1 has been used. Any ID allocation
- algorithm that does not maintain this property is incompatible with
- the implementation in libwayland.
+ the ID N will not be used until N-1 has been used. This ordering is
+ not merely a guideline, but a strict requirement, and there are
+ implementations of the protocol that rigorously enforce this rule,
+ including the ubiquitous libwayland.
</para>
</section>
<section id="sect-Protocol-Compositor">