[Xcb-commit] xcb/proto: src

Peter Harris peterh at kemper.freedesktop.org
Tue May 6 17:51:27 PDT 2014


 src/xkb.xml |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 389889e2f95af19e7fc7ac89e7faeb2f28652415
Author: Peter Harris <pharris at opentext.com>
Date:   Tue Apr 29 11:52:36 2014 -0400

    xkb: Fix use of nKTLevels
    
    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>

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" />


More information about the xcb-commit mailing list