[Xcb] [PATCH] shape: add missing padding bytes

Julien Danjou julien at danjou.info
Mon Sep 1 06:05:41 PDT 2008


Signed-off-by: Julien Danjou <julien at danjou.info>
---
 src/shape.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/shape.xml b/src/shape.xml
index a3c929a..d832460 100644
--- a/src/shape.xml
+++ b/src/shape.xml
@@ -57,6 +57,7 @@ authorization from the authors.
     <field type="CARD16" name="extents_height" />
     <field type="TIMESTAMP" name="server_time" />
     <field type="BOOL" name="shaped" />
+    <pad bytes="11" />
   </event>
 
   <request name="QueryVersion" opcode="0">
@@ -128,6 +129,7 @@ authorization from the authors.
   <request name="SelectInput" opcode="6">
     <field type="WINDOW" name="destination_window" />
     <field type="BOOL" name="enable" />
+    <pad bytes="3" />
   </request>
 
   <request name="InputSelected" opcode="7">
@@ -140,6 +142,7 @@ authorization from the authors.
   <request name="GetRectangles" opcode="8">
     <field type="WINDOW" name="window" />
     <field type="KIND" name="source_kind" />
+    <pad bytes="3" />
     <reply>
       <field type="BYTE" name="ordering" />
       <field type="CARD32" name="rectangles_len" />
-- 
1.6.0



More information about the Xcb mailing list