Merge branch 'array-arg-element-type' into 'main'

scanner: allow element-type and enum on array args

See merge request wayland/wayland!300
This commit is contained in:
Isaac Freund 2024-04-27 20:06:29 +00:00
commit 37c234b289
3 changed files with 109 additions and 22 deletions

View file

@ -31,5 +31,7 @@
<!ATTLIST arg interface CDATA #IMPLIED>
<!ATTLIST arg allow-null CDATA #IMPLIED>
<!ATTLIST arg enum CDATA #IMPLIED>
<!ATTLIST arg element-type CDATA #IMPLIED>
<!ATTLIST arg element-bits CDATA #IMPLIED>
<!ELEMENT description (#PCDATA)>
<!ATTLIST description summary CDATA #REQUIRED>

View file

@ -2461,7 +2461,8 @@
</description>
<arg name="serial" type="uint" summary="serial number of the enter event"/>
<arg name="surface" type="object" interface="wl_surface" summary="surface gaining keyboard focus"/>
<arg name="keys" type="array" summary="the currently pressed keys"/>
<arg name="keys" type="array" element-type="uint" element-bits="32"
summary="the currently pressed keys"/>
</event>
<event name="leave">