[Xcb] [PATCH] XKB: Fix calculation in GetIndicatorMap

Peter Harris pharris at opentext.com
Tue Apr 16 11:51:17 PDT 2013


Contrary to the spec, the server doesn't set nIndicators.

Signed-off-by: Peter Harris <pharris at opentext.com>
---
 src/xkb.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/xkb.xml b/src/xkb.xml
index 5e18ee8..9b1c688 100644
--- a/src/xkb.xml
+++ b/src/xkb.xml
@@ -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>
-- 
1.7.2.5



More information about the Xcb mailing list