[Xcb-commit] xcb/proto: src

Christian Linhart clinhart at kemper.freedesktop.org
Sat Jul 4 06:57:54 PDT 2015


 src/xinput.xml |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 755fb33fa5f3dc3a21be3902952d111da3760490
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Fri Jun 12 14:15:29 2015 +1000

    xinput: align XIChangeProperty data items correctly
    
    Items need to be 4-aligned, see also 055c13096d94953de9ca62017f917572bd0e3f56
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Christian Linhart <chris at demorecorder.com>

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>


More information about the xcb-commit mailing list