[Xcb] [PATCH proto] xinput: align XIChangeProperty data items correctly

Peter Hutterer peter.hutterer at who-t.net
Thu Jun 11 21:15:29 PDT 2015


Items need to be 4-aligned, see also 055c13096d94953de9ca62017f917572bd0e3f56

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 src/xinput.xml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/xinput.xml b/src/xinput.xml
index c729f20..6564f4c 100644
--- a/src/xinput.xml
+++ b/src/xinput.xml
@@ -1985,12 +1985,14 @@ This affects the following:
                 <list type="CARD8" name="data8">
                     <fieldref>num_items</fieldref>
                 </list>
+                <pad align="4" />
             </case>
             <case>
                 <enumref ref="PropertyFormat">16Bits</enumref>
                 <list type="CARD16" name="data16">
                     <fieldref>num_items</fieldref>
                 </list>
+                <pad align="4" />
             </case>
             <case>
                 <enumref ref="PropertyFormat">32Bits</enumref>
-- 
2.4.0



More information about the Xcb mailing list