summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Harris <pharris@opentext.com>2013-04-10 19:05:23 -0400
committerPeter Harris <pharris@opentext.com>2013-04-16 14:37:05 -0400
commit2ad6d97b39b90c54002c8c0fbb2612c898137386 (patch)
tree3eb248101b5a9db645cb8a3e4acdddea14ccbce6
parentb6abdad2c2b0a332a40490d8f63a581100bc1293 (diff)
XKB: Fix VirtualMods
nVModMapKeys is usually larger than <popcount>virtualMods</popcount>. Signed-off-by: Peter Harris <pharris@opentext.com>
-rw-r--r--src/xkb.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xkb.xml b/src/xkb.xml
index 41dbe54..f62c55e 100644
--- a/src/xkb.xml
+++ b/src/xkb.xml
@@ -1363,7 +1363,7 @@ authorization from the authors.
<bitcase>
<enumref ref="MapPart">VirtualMods</enumref>
<list name="vmods_rtrn" type="CARD8" mask="ModMask">
- <fieldref>nVModMapKeys</fieldref>
+ <popcount><fieldref>virtualMods</fieldref></popcount>
</list>
</bitcase>
<bitcase>
@@ -1447,7 +1447,7 @@ authorization from the authors.
<bitcase>
<enumref ref="MapPart">VirtualMods</enumref>
<list name="vmods" type="CARD8">
- <fieldref>nVModMapKeys</fieldref>
+ <popcount><fieldref>virtualMods</fieldref></popcount>
</list>
</bitcase>
<bitcase>
@@ -2071,7 +2071,7 @@ authorization from the authors.
<bitcase>
<enumref ref="MapPart">VirtualMods</enumref>
<list name="vmods_rtrn" type="CARD8" mask="ModMask">
- <fieldref>nVModMapKeys</fieldref>
+ <popcount><fieldref>virtualMods</fieldref></popcount>
</list>
</bitcase>
<bitcase>