summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Latter <aslatter@gmail.com>2008-12-27 19:50:13 -0500
committerJulien Danjou <julien@danjou.info>2008-12-29 11:37:28 +0100
commit52d0702ed569771936c874b9a417ae368c1b57c4 (patch)
treeeae7cfa6bedc869dcf040d6a882b575c56c3f6ce
parentfcf07ca7e9e107740f19e21c562f0dc2aab6f23c (diff)
Add padding to the setup request struct as required by the protocol.
Add padding to QueryExtension as required by the protocol. Signed-off-by: Julien Danjou <julien@danjou.info>
-rw-r--r--src/xproto.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xproto.xml b/src/xproto.xml
index 89df956..519912d 100644
--- a/src/xproto.xml
+++ b/src/xproto.xml
@@ -156,6 +156,7 @@ authorization from the authors.
<field type="CARD16" name="protocol_minor_version" />
<field type="CARD16" name="authorization_protocol_name_len" />
<field type="CARD16" name="authorization_protocol_data_len" />
+ <pad bytes="2" />
<list type="char" name="authorization_protocol_name">
<fieldref>authorization_protocol_name_len</fieldref>
</list>
@@ -2006,6 +2007,7 @@ authorization from the authors.
<request name="QueryExtension" opcode="98">
<pad bytes="1" />
<field type="CARD16" name="name_len" />
+ <pad bytes="2" />
<list type="char" name="name">
<fieldref>name_len</fieldref>
</list>