xkb: Pad structs CommonDoodad and SALockDeviceBtn
authorDaniel Martin <consume.noise@gmail.com>
Mon, 19 Aug 2013 21:00:21 +0000 (23:00 +0200)
committerArnaud Fontaine <arnau@debian.org>
Fri, 11 Oct 2013 07:18:27 +0000 (16:18 +0900)
commitd0d5c8adb19d488b0c1b3e848e1a2c3177b1e9ec
tree2a60fd0a53946e05fe5545337c06d93cc3e3f351
parent48767a85a54bf3bc712023d870eb7f5da14921c4
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>
src/xkb.xml