use a namespace
Fri Sep 19 14:36:33 EDT 2003 - xor(a)orodu.net
use openbox.org for namespace
+ Mon Sep 22 02:34:53 EDT 2003 - xor(a)orodu.net
+ add the focusLast and raiseOnFocus options
+ fix some capitalization
+ Mon Sep 22 14:08:16 EDT 2003 - xor(a)orodu.net
+ update hideTimeout to hideDelay
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://openbox.org/"
<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="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">
<xs:element name="floatingX" type="xs:integer"/>
<xs:element name="floatingY" type="xs:integer"/>
<xs:element name="autoHide" type="ob:yesorno"/>
- <xs:element name="hideTimeout" type="xs:integer"/>
+ <xs:element name="hideDelay" type="xs:integer"/>
+ <xs:element name="moveButton" type="ob:button"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="action">
<xs:element minOccurs="0" name="desktop" type="xs:integer"/>
<xs:element minOccurs="0" name="follow" type="ob:yesorno"/>
<xs:element minOccurs="0" name="execute" type="xs:string"/>
+ <xs:element minOccurs="0" name="dialog" type="ob:yesorno"/>
</xs:sequence>
<xs:attribute name="name" type="ob:actionname" use="required"/>
</xs:complexType>
<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"/>
- <xs:enumeration value="top"/>
- <xs:enumeration value="topright"/>
- <xs:enumeration value="right"/>
- <xs:enumeration value="bottomright"/>
- <xs:enumeration value="bottom"/>
- <xs:enumeration value="bottomleft"/>
- <xs:enumeration value="left"/>
- <xs:enumeration value="floating"/>
+ <xs:enumeration value="TopLeft"/>
+ <xs:enumeration value="Top"/>
+ <xs:enumeration value="TopRight"/>
+ <xs:enumeration value="Right"/>
+ <xs:enumeration value="BottomRight"/>
+ <xs:enumeration value="Bottom"/>
+ <xs:enumeration value="BottomLeft"/>
+ <xs:enumeration value="Left"/>
+ <xs:enumeration value="Floating"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="stacking">
<xs:restriction base="xs:string">
- <xs:enumeration value="top"/>
- <xs:enumeration value="normal"/>
- <xs:enumeration value="bottom"/>
+ <xs:enumeration value="Top"/>
+ <xs:enumeration value="Normal"/>
+ <xs:enumeration value="Bottom"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="direction">
<xs:restriction base="xs:string">
- <xs:enumeration value="horizontal"/>
- <xs:enumeration value="vertical"/>
+ <xs:enumeration value="Horizontal"/>
+ <xs:enumeration value="Vertical"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="keyname">
</xs:simpleType>
<xs:simpleType name="contextname">
<xs:restriction base="xs:string">
- <xs:enumeration value="desktop"/>
- <xs:enumeration value="client"/>
- <xs:enumeration value="titlebar"/>
- <xs:enumeration value="handle"/>
- <xs:enumeration value="frame"/>
- <xs:enumeration value="tlcorner"/>
- <xs:enumeration value="trcorner"/>
- <xs:enumeration value="blcorner"/>
- <xs:enumeration value="brcorner"/>
- <xs:enumeration value="maximize"/>
- <xs:enumeration value="alldesktops"/>
- <xs:enumeration value="shade"/>
- <xs:enumeration value="iconify"/>
- <xs:enumeration value="icon"/>
- <xs:enumeration value="close"/>
+ <xs:enumeration value="Desktop"/>
+ <xs:enumeration value="Client"/>
+ <xs:enumeration value="Titlebar"/>
+ <xs:enumeration value="Handle"/>
+ <xs:enumeration value="Frame"/>
+ <xs:enumeration value="TLCorner"/>
+ <xs:enumeration value="TRCorner"/>
+ <xs:enumeration value="BLCorner"/>
+ <xs:enumeration value="BRCorner"/>
+ <xs:enumeration value="Maximize"/>
+ <xs:enumeration value="AllDesktops"/>
+ <xs:enumeration value="Shade"/>
+ <xs:enumeration value="Iconify"/>
+ <xs:enumeration value="Icon"/>
+ <xs:enumeration value="Close"/>
+ <xs:enumeration value="MoveResize"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="button">