From d898fd39ad6c82207eb78666b2daad982dd757b5 Mon Sep 17 00:00:00 2001 From: Peter Harris Date: Tue, 14 Jan 2014 14:48:22 -0500 Subject: [PATCH] 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 --- src/xkb.xml | 60 ++++------------------------------------------------- 1 file changed, 4 insertions(+), 56 deletions(-) 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 -- 2.34.1