mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-02-28 01:41:19 -05:00
Merge branch 'strict-message-size' into 'main'
Require messages to use as few bytes as possible See merge request wayland/wayland!416
This commit is contained in:
commit
6ba271fd4a
3 changed files with 28 additions and 3 deletions
|
|
@ -112,8 +112,11 @@
|
|||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
The second has 2 parts of 16-bit. The upper 16-bits are the message
|
||||
size in bytes, starting at the header (i.e. it has a minimum value of 8).The lower is the request/event opcode.
|
||||
The second has 2 parts of 16 bits each. The upper 16 bits are the message
|
||||
size in bytes, starting at the header (i.e. it has a minimum value of 8).
|
||||
The lower is the request/event opcode. The size must be a multiple of 4.
|
||||
Messages must be sent using the fewest bytes possible, so padding after
|
||||
the end of a message is not permitted.
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue