diff options
| author | Dana Jansens <danakj@orodu.net> | 2008-01-27 11:31:23 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2008-01-27 11:31:23 -0500 |
| commit | dd740b5562806a6b4692c938ad0e903ad89b6193 (patch) | |
| tree | 5887b7b312cadbfac3dd02676ffa54cc04a02482 /data | |
| parent | d409936faae594df7854b5b42ff707315ca33086 (diff) | |
replace the <active> placement option with <placeOn>active/mouse/any</placeOn>
Diffstat (limited to 'data')
| -rw-r--r-- | data/rc.xml | 7 | ||||
| -rw-r--r-- | data/rc.xsd | 9 |
2 files changed, 12 insertions, 4 deletions
diff --git a/data/rc.xml b/data/rc.xml index 4e25ffa2..ccaa8494 100644 --- a/data/rc.xml +++ b/data/rc.xml @@ -35,9 +35,10 @@ <center>yes</center> <!-- whether to place windows in the center of the free area found or the top left corner --> - <active>no</active> - <!-- force new windows onto the active monitor on a multi-head system, unless - they are part of an application already on another monitor --> + <placeOn>Any</placeOn> + <!-- with Smart placement on a multi-monitor system, try to place new windows + on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where + the active window is --> </placement> <theme> diff --git a/data/rc.xsd b/data/rc.xsd index 0544cfd4..bd4c0cb6 100644 --- a/data/rc.xsd +++ b/data/rc.xsd @@ -54,7 +54,7 @@ </xsd:annotation> <xsd:element name="policy" type="ob:placementpolicy"/> <xsd:element name="center" type="ob:bool"/> - <xsd:element name="active" type="ob:bool"/> + <xsd:element name="placeOn" type="ob:placementmonitor"/> </xsd:complexType> <xsd:complexType name="margins"> <xsd:annotation> @@ -402,6 +402,13 @@ <xsd:enumeration value="UnderMouse"/> </xsd:restriction> </xsd:simpleType> + <xsd:simpleType name="placementmonitor"> + <xsd:restriction base="xsd:string"> + <xsd:enumeration value="Any"/> + <xsd:enumeration value="Mouse"/> + <xsd:enumeration value="Active"/> + </xsd:restriction> + </xsd:simpleType> <xsd:simpleType name="popupposition"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="Top"/> |
