[Xcb] [PATCH proto 2/2] enforce serialization of pads where needed for ABI compat

Christian Linhart chris at demorecorder.com
Sun Jan 17 21:52:03 PST 2016


Signed-off-by: Christian Linhart <chris at demorecorder.com>
---
 src/xkb.xml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/xkb.xml b/src/xkb.xml
index 06488e7..8778c07 100644
--- a/src/xkb.xml
+++ b/src/xkb.xml
@@ -1352,15 +1352,15 @@ <request name="GetMap" opcode="8">
 					</list>
 				</bitcase>
 				<bitcase>
 					<enumref ref="MapPart">KeyActions</enumref>
 					<list name="acts_rtrn_count" type="CARD8">
 						<fieldref>nKeyActions</fieldref>
 					</list>
-                                        <pad align="4" />
+                                        <pad align="4" serialize="true"/>
 					<list name="acts_rtrn_acts" type="Action">
 						<fieldref>totalActions</fieldref>
 					</list>
 				</bitcase>
 				<bitcase>
 					<enumref ref="MapPart">KeyBehaviors</enumref>
 					<list name="behaviors_rtrn" type="SetBehavior">
@@ -1368,29 +1368,29 @@ <request name="GetMap" opcode="8">
 					</list>
 				</bitcase>
 				<bitcase>
 					<enumref ref="MapPart">VirtualMods</enumref>
 					<list name="vmods_rtrn" type="CARD8" mask="ModMask">
 						<popcount><fieldref>virtualMods</fieldref></popcount>
 					</list>
-                                        <pad align="4" />
+                                        <pad align="4" serialize="true" />
 				</bitcase>
 				<bitcase>
 					<enumref ref="MapPart">ExplicitComponents</enumref>
 					<list name="explicit_rtrn" type="SetExplicit">
 						<fieldref>totalKeyExplicit</fieldref>
 					</list>
-                                        <pad align="4" />
+                                        <pad align="4" serialize="true" />
 				</bitcase>
 				<bitcase>
 					<enumref ref="MapPart">ModifierMap</enumref>
 					<list name="modmap_rtrn" type="KeyModMap">
 						<fieldref>totalModMapKeys</fieldref>
 					</list>
-                                        <pad align="4" />
+                                        <pad align="4" serialize="true" />
 				</bitcase>
 				<bitcase>
 					<enumref ref="MapPart">VirtualModMap</enumref>
 					<list name="vmodmap_rtrn" type="KeyVModMap">
 						<fieldref>totalVModMapKeys</fieldref>
 					</list>
 				</bitcase>
@@ -1666,15 +1666,15 @@ <request name="GetNames" opcode="17">
 					<list name="nLevelsPerType" type="CARD8">
 					  <!-- Xlib uses NTypes here - 
 					       the spec says nKTLevels is correct, but
 					       it does not work in reality
 					       <fieldref>nKTLevels</fieldref> -->
 					        <fieldref>nTypes</fieldref>
 					</list>
-					<pad align="4" />
+					<pad align="4" serialize="true" />
 					<list name="ktLevelNames" type="ATOM">
 						<sumof ref="nLevelsPerType" />
 					</list>
 				</bitcase>
 				<bitcase>
 					<enumref ref="NameDetail">IndicatorNames</enumref>
 					<list name="indicatorNames" type="ATOM">
-- 
2.1.4



More information about the Xcb mailing list