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

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


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

diff --git a/src/xv.xml b/src/xv.xml
index 8a4933c..fb15d89 100644
--- a/src/xv.xml
+++ b/src/xv.xml
@@ -300,11 +300,13 @@ authorization from the authors.
     <request name="SelectVideoNotify" opcode="10">
         <field type="DRAWABLE" name="drawable" />
         <field type="BOOL" name="onoff" />
+        <pad bytes="3" />
     </request>
 
     <request name="SelectPortNotify" opcode="11">
         <field type="PORT" name="port" />
         <field type="BOOL" name="onoff" />
+        <pad bytes="3" />
     </request>
 
     <request name="QueryBestSize" opcode="12">
@@ -314,6 +316,7 @@ authorization from the authors.
         <field type="CARD16" name="drw_w" />
         <field type="CARD16" name="drw_h" />
         <field type="BOOL" name="motion" />
+        <pad bytes="3" />
         <reply>
             <pad bytes="1" />
             <field type="CARD16" name="actual_width" />
@@ -420,5 +423,6 @@ authorization from the authors.
         <field type="CARD16" name="width" />
         <field type="CARD16" name="height" />
         <field type="CARD8" name="send_event" />
+        <pad bytes="3" />
     </request>
 </xcb>
-- 
1.6.0



More information about the Xcb mailing list