]> Dogcows Code - chaz/openbox/commitdiff
add noStrut option to dock and fix up rc.xsd, some options were in the wrong section...
authorMikael Magnusson <mikachu@comhem.se>
Fri, 25 Mar 2005 20:17:45 +0000 (20:17 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Fri, 25 Mar 2005 20:17:45 +0000 (20:17 +0000)
data/rc.xsd
openbox/config.c

index 7d8119e2100c94eed259c7cf805c6287906329c1..7cdc5900693733dae7c828853b270d431002d403 100644 (file)
             <xs:element name="floatingY" type="xs:integer"/>
             <xs:element name="autoHide" type="ob:yesorno"/>
             <xs:element name="hideDelay" type="xs:integer"/>
-            <xs:element name="disktopMenuIcons" type="ob:yesorno"/>
             <xs:element name="moveButton" type="ob:button"/>
+            <xs:element name="noStrut" type="ob:yesorno"/>
         </xs:sequence>
     </xs:complexType>
     <xs:complexType name="action">
             <xs:element maxOccurs="unbounded" name="file" type="xs:string"/>
             <xs:element name="warpPointer" type="ob:yesorno"/>
             <xs:element name="xorStyle" type="ob:yesorno"/>
+            <xs:element name="hideDelay" type="xs:integer"/>
+            <xs:element name="desktopMenuIcons" type="ob:yesorno"/>
         </xs:sequence>
     </xs:complexType>
     <!--
index ad1ea8c674ab3b53ce7363a1f5e29cdb0b82502e..f086a1a37c9e41bc7553ce1da732c0d4339d2954 100644 (file)
@@ -361,6 +361,9 @@ static void parse_dock(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
             config_dock_x = parse_int(doc, n);
         if ((n = parse_find_node("floatingY", node)))
             config_dock_y = parse_int(doc, n);
+    } else {
+        if ((n = parse_find_node("noStrut", node)))
+            config_dock_floating = parse_bool(doc, n);
     }
     if ((n = parse_find_node("stacking", node))) {
         if (parse_contains("top", doc, n))
This page took 0.025574 seconds and 4 git commands to generate.