[Xcb] [PATCH v2] xkb: Fix use of nKTLevels

Peter Harris pharris at opentext.com
Tue Apr 29 08:53:59 PDT 2014


nLevelsPerType is nLevels long. This continues the work started in
76ca2c0b1527541be59c344118c538ba055ad9d8.

nKTLevels could be used instead of <sumof nLevelsPerType>, but that
change causes a change to libxcb's API.

Reviewed-by: Ran Benita <ran234 at gmail.com>
Tested-by: Ran Benita <ran234 at gmail.com>
Signed-off-by: Peter Harris <pharris at opentext.com>
---
 src/xkb.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/xkb.xml b/src/xkb.xml
index 9ef4402..04ab429 100644
--- a/src/xkb.xml
+++ b/src/xkb.xml
@@ -1778,7 +1778,7 @@ authorization from the authors.
 			<bitcase>
 				<enumref ref="NameDetail">KTLevelNames</enumref>
 				<list name="nLevelsPerType" type="CARD8">
-					<fieldref>nKTLevels</fieldref>
+					<fieldref>nTypes</fieldref>
 				</list>
 				<list name="ktLevelNames" type="ATOM">
 					<sumof ref="nLevelsPerType" />
@@ -2220,7 +2220,7 @@ authorization from the authors.
 						<bitcase>
 							<enumref ref="NameDetail">KTLevelNames</enumref>
 							<list name="nLevelsPerType" type="CARD8">
-								<fieldref>nKTLevels</fieldref>
+								<fieldref>nTypes</fieldref>
 							</list>
 							<list name="ktLevelNames" type="ATOM">
 								<sumof ref="nLevelsPerType" />
-- 
1.9.2



More information about the Xcb mailing list