[Xcb] [PATCH] Remove fieldref from sole list in GetIndicatorMap reply

Peter Harris pharris at opentext.com
Tue Feb 19 08:55:23 PST 2013


The X.org server never sets nIndicators, and Xlib never reads it. Use the
reply length to calculate the size of the list instead.

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

diff --git a/src/xkb.xml b/src/xkb.xml
index c260720..9895fef 100644
--- a/src/xkb.xml
+++ b/src/xkb.xml
@@ -1515,9 +1515,7 @@ authorization from the authors.
 			<field name="realIndicators" type="CARD32" />
 			<field name="nIndicators" type="CARD8" />
 			<pad bytes="15" />
-			<list name="maps" type="IndicatorMap">
-				<fieldref>nIndicators</fieldref>
-			</list>
+			<list name="maps" type="IndicatorMap" />
 		</reply>
 	</request>
 
-- 
1.7.5.4



More information about the Xcb mailing list