Move the definition of "enum" and "mask" from <field> to "var".
[free-sw/xcb/proto] / src / xv.xml
index 8a4933c..26047a6 100644 (file)
@@ -63,6 +63,12 @@ authorization from the authors.
         <field type="INT32" name="denominator" />
     </struct>
 
+    <struct name="Format">
+        <field type="VISUALID" name="visual" />
+        <field type="CARD8" name="depth" />
+        <pad bytes="3" />
+    </struct>
+
     <struct name="AdaptorInfo">
         <field type="PORT" name="base_id" />
         <field type="CARD16" name="name_size" />
@@ -95,12 +101,6 @@ authorization from the authors.
         </list>
     </struct>
 
-    <struct name="Format">
-        <field type="VISUALID" name="visual" />
-        <field type="CARD8" name="depth" />
-        <pad bytes="3" />
-    </struct>
-
     <struct name="Image">
         <field type="CARD32" name="id" />
         <field type="CARD16" name="width" />
@@ -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>