[Xcb] [PATCH] shm: add missing padding bytes
Julien Danjou
julien at danjou.info
Mon Sep 1 06:05:42 PDT 2008
Signed-off-by: Julien Danjou <julien at danjou.info>
---
src/shm.xml | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/shm.xml b/src/shm.xml
index 49e243b..b40e51c 100644
--- a/src/shm.xml
+++ b/src/shm.xml
@@ -44,6 +44,7 @@ authorization from the authors.
<errorcopy name="BadSeg" number="0" ref="Value" />
<request name="QueryVersion" opcode="0">
+ <pad bytes="2" />
<reply>
<field type="BOOL" name="shared_pixmaps" />
<field type="CARD16" name="major_version" />
@@ -51,6 +52,7 @@ authorization from the authors.
<field type="CARD16" name="uid" />
<field type="CARD16" name="gid" />
<field type="CARD8" name="pixmap_format" />
+ <pad bytes="15" />
</reply>
</request>
@@ -58,6 +60,7 @@ authorization from the authors.
<field type="SEG" name="shmseg" />
<field type="CARD32" name="shmid" />
<field type="BOOL" name="read_only" />
+ <pad bytes="3" />
</request>
<request name="Detach" opcode="2">
--
1.6.0
More information about the Xcb
mailing list