]> Dogcows Code - chaz/openbox/commitdiff
add option for under-mouse placement
authorDana Jansens <danakj@orodu.net>
Sun, 28 Sep 2003 09:06:40 +0000 (09:06 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 28 Sep 2003 09:06:40 +0000 (09:06 +0000)
data/rc.xml.in
data/rc.xsd

index 0141abb27f80354de70bda0dd12ed2d81c5c0ffd..0229f577cfeedc31bb5316441af458837f3abc2f 100644 (file)
   <titlelayout>NLIMC</titlelayout>
 </theme>
 
+<placement>
+  <policy>Smart</policy>
+</placement>
+
 <desktops>
   <number>4</number>
   <names>
index 56fe299384deb1f6ea56041880707c8aff352f52..d5c3be95bb73788ee2aa715f9d229d104d3fa37b 100644 (file)
@@ -42,6 +42,7 @@
             <xs:sequence>
                 <xs:element name="resistance" type="ob:resistance"/>
                 <xs:element name="focus" type="ob:focus"/>
+                <xs:element name="placement" type="ob:placement"/>
                 <xs:element name="theme" type="ob:theme"/>
                 <xs:element name="desktops" type="ob:desktops"/>
                 <xs:element name="resize" type="ob:resize"/>
             <xs:element name="raiseOnFocus" type="ob:yesorno"/>
         </xs:sequence>
     </xs:complexType>
+    <xs:complexType name="placement">
+        <xs:annotation>
+            <xs:documentation>defines how new windows are placed</xs:documentation>
+        </xs:annotation>
+        <xs:sequence>
+            <xs:element name="policy" type="ob:placementpolicy"/>
+        </xs:sequence>
+    </xs:complexType>
     <xs:complexType name="theme">
         <xs:sequence>
             <xs:element name="name" type="xs:string"/>
             <xs:enumeration value="no"/>
         </xs:restriction>
     </xs:simpleType>
+    <xs:simpleType name="placementpolicy">
+        <xs:restriction base="xs:string">
+            <xs:enumeration value="Smart"/>
+            <xs:enumeration value="UnderMouse"/>
+        </xs:restriction>
+    </xs:simpleType>
     <xs:simpleType name="position">
         <xs:restriction base="xs:string">
             <xs:enumeration value="TopLeft"/>
This page took 0.027107 seconds and 4 git commands to generate.