summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/rc.xml.in4
-rw-r--r--data/rc.xsd15
2 files changed, 19 insertions, 0 deletions
diff --git a/data/rc.xml.in b/data/rc.xml.in
index 0141abb2..0229f577 100644
--- a/data/rc.xml.in
+++ b/data/rc.xml.in
@@ -25,6 +25,10 @@
<titlelayout>NLIMC</titlelayout>
</theme>
+<placement>
+ <policy>Smart</policy>
+</placement>
+
<desktops>
<number>4</number>
<names>
diff --git a/data/rc.xsd b/data/rc.xsd
index 56fe2993..d5c3be95 100644
--- a/data/rc.xsd
+++ b/data/rc.xsd
@@ -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"/>
@@ -75,6 +76,14 @@
<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"/>
@@ -166,6 +175,12 @@
<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"/>