xkb: Use <pad align="4" /> in GetMap
authorPeter Harris <pharris@opentext.com>
Tue, 14 Jan 2014 19:48:22 +0000 (14:48 -0500)
committerPeter Harris <pharris@opentext.com>
Tue, 21 Jan 2014 20:24:19 +0000 (15:24 -0500)
commitd898fd39ad6c82207eb78666b2daad982dd757b5
tree51f7c1e14cab135c48a7c8b031362177ac4b0684
parentee02385ce1920ac7d0a450a8fccba60f9656d1fb
xkb: Use <pad align="4" /> in GetMap

There is a bug where lists of size other than one are automatically
aligned by c_client.py. So alignment_pad3 and 4 were aligning twice
and consuming too many bytes.

Rather than change the type to CARD8 and wrap the <op> in yet another
<op> to multiply by two, use the new <pad align> operation.

Reviewed-By: Ran Benita <ran234@gmail.com>
Tested-By: Ran Benita <ran234@gmail.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
src/xkb.xml