[PATCH] Move Format above its first use in xv.xml

Peter Harris peter.harris at hummingbird.com
Thu Oct 16 15:40:00 PDT 2008


This change makes it easier to process the xml file in a single streamy
pass.
---
 src/xv.xml |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/xv.xml b/src/xv.xml
index fb15d89..26047a6 100644
--- a/src/xv.xml
+++ b/src/xv.xml
@@ -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" />
-- 
1.5.6.5


--Boundary-00=_AZN/IF1giImPFy/
Content-Type: text/x-patch;
  charset="us-ascii";
  name="0002-Move-structures-above-their-first-uses-in-xinput.xml.patch"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline;
	filename="0002-Move-structures-above-their-first-uses-in-xinput.xml.patch"



More information about the Xcb mailing list