xdg-shell: Update documentation on array formats.

Clarify that arrays are 32-bit unsigned values and the values are defined in enums.

Signed-off-by: Robert Ancell <robert.ancell@gmail.com>
This commit is contained in:
Robert Ancell 2025-06-01 22:03:15 +12:00 committed by Robert Ancell
parent e193660a38
commit 5e36cbbd5d
No known key found for this signature in database
GPG key ID: 5A4D9816CA519FBD

View file

@ -1160,6 +1160,9 @@
arguments should be interpreted, and possibly how it should be
drawn.
The states are sent as an array of 32-bit unsigned integers in
native endianness. State values are defined in the state enum.
Clients must send an ack_configure in response to this event. See
xdg_surface.configure and xdg_surface.ack_configure for details.
</description>
@ -1235,7 +1238,7 @@
xdg_surface.configure for details.
The capabilities are sent as an array of 32-bit unsigned integers in
native endianness.
native endianness. Capability values are defined in the wm_capabilities enum.
</description>
<arg name="capabilities" type="array" summary="array of 32-bit capabilities"/>
</event>