xinput: struct DeviceClass: full support
[free-sw/xcb/proto] / src / xkb.xml
index 9ef4402..ad52ea2 100644 (file)
@@ -1204,6 +1204,10 @@ authorization from the authors.
                <field name="lockGroup" type="BOOL" />
                <field name="groupLock" type="CARD8" enum="Group" />
                <field name="affectModLatches" type="CARD8" mask="ModMask" />
+               <pad bytes="1" /> <!-- This pad is a workaround to prevent an API break,
+                                      which the following field (correct fix) would cause.
+               <field name="modLatches" type="CARD8" mask="ModMask" />
+               -->
                <pad bytes="1" />
                <field name="latchGroup" type="BOOL" />
                <field name="groupLatch" type="CARD16" />
@@ -1778,7 +1782,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 +2224,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" />