From: Peter Harris Date: Tue, 14 Jan 2014 19:48:22 +0000 (-0500) Subject: xkb: Use in GetMap X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d898fd39ad6c82207eb78666b2daad982dd757b5;p=free-sw%2Fxcb%2Fproto xkb: Use 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 in yet another to multiply by two, use the new operation. Reviewed-By: Ran Benita Tested-By: Ran Benita Signed-off-by: Peter Harris --- diff --git a/src/xkb.xml b/src/xkb.xml index 1df0771..9ef4402 100644 --- a/src/xkb.xml +++ b/src/xkb.xml @@ -1351,20 +1351,7 @@ authorization from the authors. nKeyActions - - - - - nKeyActions - 3 - - - 3 - - - nKeyActions - - + totalActions @@ -1380,60 +1367,21 @@ authorization from the authors. virtualMods - - - - - virtualMods - 3 - - - 3 - - - virtualMods - - + ExplicitComponents totalKeyExplicit - - - - - totalKeyExplicit - 1 - - - 1 - - - totalKeyExplicit - - + ModifierMap totalModMapKeys - - - - - totalModMapKeys - 1 - - - 1 - - - totalModMapKeys - - + VirtualModMap