all repos — openbox @ ff04a81e62cc9337f89fc913feb29f5295c84217

openbox fork - make it a bit more like ryudo

add option for under-mouse placement
Dana Jansens danakj@orodu.net
commit

ff04a81e62cc9337f89fc913feb29f5295c84217

parent

8e63ffdabdc3be3ad355dcaddd47d8e71c510739

2 files changed, 19 insertions(+), 0 deletions(-)

jump to
M data/rc.xml.indata/rc.xml.in

@@ -25,6 +25,10 @@ <name>TheBear</name>

<titlelayout>NLIMC</titlelayout> </theme> +<placement> + <policy>Smart</policy> +</placement> + <desktops> <number>4</number> <names>
M data/rc.xsddata/rc.xsd

@@ -42,6 +42,7 @@ <xs:complexType>

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

@@ -73,6 +74,14 @@ <xs:element name="focusNew" type="ob:yesorno"/>

<xs:element name="followMouse" type="ob:yesorno"/> <xs:element name="focusDelay" type="xs:integer"/> <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">

@@ -164,6 +173,12 @@ <xs:simpleType name="yesorno">

<xs:restriction base="xs:string"> <xs:enumeration value="yes"/> <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">