add option for under-mouse placement

This commit is contained in:
Dana Jansens 2003-09-28 09:06:40 +00:00
parent 8e63ffdabd
commit ff04a81e62
2 changed files with 19 additions and 0 deletions

View file

@ -25,6 +25,10 @@
<titlelayout>NLIMC</titlelayout>
</theme>
<placement>
<policy>Smart</policy>
</placement>
<desktops>
<number>4</number>
<names>

View 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"/>
@ -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"/>