mirror of
https://gitlab.freedesktop.org/xorg/proto/xcbproto.git
synced 2026-05-07 17:48:03 +02:00
Re-fix the ConfigureWindow request padding issue.
We rely on the fact that the valueparam field is treated as a list, and, like any other list, the Python code will check if the length field is previously defined in the structure before adding a new one. This allows us to insert the necessary 2-byte padding. Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
This commit is contained in:
parent
a03633320a
commit
b684b0d080
1 changed files with 2 additions and 0 deletions
|
|
@ -866,6 +866,8 @@ authorization from the authors.
|
|||
<request name="ConfigureWindow" opcode="12">
|
||||
<pad bytes="1" />
|
||||
<field type="WINDOW" name="window" />
|
||||
<field type="CARD16" name="value_mask" />
|
||||
<pad bytes="2" />
|
||||
<valueparam value-mask-type="CARD16"
|
||||
value-mask-name="value_mask"
|
||||
value-list-name="value_list" />
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue