XKB: Fix calculation in GetIndicatorMap
authorPeter Harris <pharris@opentext.com>
Tue, 16 Apr 2013 18:29:51 +0000 (14:29 -0400)
committerPeter Harris <pharris@opentext.com>
Tue, 16 Apr 2013 18:50:32 +0000 (14:50 -0400)
Contrary to the spec, the server doesn't set nIndicators.

Signed-off-by: Peter Harris <pharris@opentext.com>
src/xkb.xml

index 5e18ee8..9b1c688 100644 (file)
@@ -1536,7 +1536,7 @@ authorization from the authors.
                        <field name="nIndicators" type="CARD8" />
                        <pad bytes="15" />
                        <list name="maps" type="IndicatorMap">
-                               <fieldref>nIndicators</fieldref>
+                               <popcount><fieldref>which</fieldref></popcount>
                        </list>
                </reply>
        </request>