mirror of
https://gitlab.freedesktop.org/xorg/proto/xcbproto.git
synced 2026-05-08 10:08:01 +02:00
xkb: Pad structs CommonDoodad and SALockDeviceBtn
* CommonDoodad is xkbAnyDoodadWireDesc in XKBproto.h. There it has a
size of 20 like all Doodads:
#define sz_xkbAnyDoodadWireDesc 20
Add the necessary 8 bytes of padding.
* SALockDeviceBtn is an Action. All Actions are handled by the server
and libX11 with sizeof(xkbActionWireDesc) or
SIZEOF(xkbActionWireDesc). Which results in a size of 8:
#define sz_xkbActionWireDesc 8 /* in XKBproto.h */
Add the necessary 3 bytes of padding.
Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Reviewed-by: Ran Benita <ran234@gmail.com>
This commit is contained in:
parent
48767a85a5
commit
d0d5c8adb1
1 changed files with 2 additions and 0 deletions
|
|
@ -648,6 +648,7 @@ authorization from the authors.
|
|||
<field name="top" type="INT16" />
|
||||
<field name="left" type="INT16" />
|
||||
<field name="angle" type="INT16" />
|
||||
<pad bytes="8" />
|
||||
</struct>
|
||||
|
||||
<struct name="ShapeDoodad">
|
||||
|
|
@ -1002,6 +1003,7 @@ authorization from the authors.
|
|||
<pad bytes="1" />
|
||||
<field name="button" type="CARD8" />
|
||||
<field name="device" type="CARD8" />
|
||||
<pad bytes="3" />
|
||||
</struct>
|
||||
|
||||
<enum name="SAValWhat">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue