xf86vidmode: Fix padding expressions
[free-sw/xcb/proto] / src / shm.xml
index e576c1f..adda509 100644 (file)
@@ -25,7 +25,8 @@ institutions shall not be used in advertising or otherwise to promote the
 sale, use or other dealings in this Software without prior written
 authorization from the authors.
 -->
-<xcb header="shm" extension-xname="MIT-SHM" extension-name="Shm">
+<xcb header="shm" extension-xname="MIT-SHM" extension-name="Shm"
+    major-version="1" minor-version="1">
   <import>xproto</import>
 
   <xidtype name="SEG" />
@@ -33,10 +34,10 @@ authorization from the authors.
   <event name="Completion" number="0">
     <pad bytes="1" />
     <field type="DRAWABLE" name="drawable" />
-    <field type="SEG" name="shmseg" />
     <field type="CARD16" name="minor_event" />
     <field type="BYTE" name="major_event" />
     <pad bytes="1" />
+    <field type="SEG" name="shmseg" />
     <field type="CARD32" name="offset" />
   </event>
 
@@ -50,6 +51,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>
 
@@ -57,6 +59,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">