[Xcb] [proto 3/6] schema: Set default attribute values

Daniel Martin consume.noise at gmail.com
Fri Nov 22 14:26:51 PST 2013


Set the default values for the attributes combine-adjacent,
no-sequence-number and xge to false.

Signed-off-by: Daniel Martin <consume.noise at gmail.com>
---
 src/xcb.xsd | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/xcb.xsd b/src/xcb.xsd
index 73dbf8a..be7d81a 100644
--- a/src/xcb.xsd
+++ b/src/xcb.xsd
@@ -316,7 +316,7 @@ authorization from the authors.
           <xsd:attribute name="name" type="xsd:string" use="required" />
           <xsd:attribute name="opcode" type="xsd:integer" use="required" />
           <xsd:attribute name="combine-adjacent" type="xsd:boolean"
-                         use="optional"/>
+                         use="optional" default="false" />
         </xsd:complexType>
       </xsd:element>
       <xsd:element name="event">
@@ -327,8 +327,9 @@ authorization from the authors.
                 <xsd:element ref="doc" minOccurs="0" maxOccurs="1" />
               </xsd:sequence>
               <xsd:attribute name="no-sequence-number" type="xsd:boolean"
-                             use="optional" />
-              <xsd:attribute name="xge" type="xsd:boolean" use="optional" />
+                             use="optional" default="false" />
+              <xsd:attribute name="xge" type="xsd:boolean"
+                             use="optional" default="false" />
             </xsd:extension>
           </xsd:complexContent>
         </xsd:complexType>
-- 
1.8.4.2



More information about the Xcb mailing list