diff options
| author | Dana Jansens <danakj@orodu.net> | 2008-02-13 20:53:25 -0500 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@comhem.se> | 2008-02-14 19:40:03 +0100 |
| commit | 27177e498b737cc351ce446f0b89010bcf29bfcd (patch) | |
| tree | 704c066b2e58301292ed82c99b6da8f5de739494 /data/rc.xsd | |
| parent | 619fd7e666944aa83c636d14cd2777cbd5dc1094 (diff) | |
let you match per-app settings based on the window type
Diffstat (limited to 'data/rc.xsd')
| -rw-r--r-- | data/rc.xsd | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/data/rc.xsd b/data/rc.xsd index 47eeed12..de227ea1 100644 --- a/data/rc.xsd +++ b/data/rc.xsd @@ -189,10 +189,11 @@ <xsd:element minOccurs="0" name="skip_taskbar" type="ob:bool"/> <xsd:element minOccurs="0" name="fullscreen" type="ob:bool"/> <xsd:element minOccurs="0" name="maximized" type="ob:maximization"/> + <xsd:attribute name="role" type="xsd:string"/> + <xsd:attribute name="type" type="ob:clienttype"/> <!-- at least one of these must be present --> <xsd:attribute name="name" type="xsd:string"/> <xsd:attribute name="class" type="xsd:string"/> - <xsd:attribute name="role" type="xsd:string"/> </xsd:complexType> <xsd:complexType name="applications"> <xsd:element minOccurs="0" maxOccurs="unbounded" name="application" type="ob:application"/> @@ -252,6 +253,18 @@ <xsd:enumeration value="Unshade"/> </xsd:restriction> </xsd:simpleType> + <xsd:simpleType name="clienttype"> + <xsd:restriction base="xsd:string"> + <xsd:enumeration value="desktop"/> + <xsd:enumeration value="dock"/> + <xsd:enumeration value="toolbar"/> + <xsd:enumeration value="menu"/> + <xsd:enumeration value="splash"/> + <xsd:enumeration value="utility"/> + <xsd:enumeration value="dialog"/> + <xsd:enumeration value="normal"/> + </xsd:restriction> + </xsd:simpleType> <xsd:simpleType name="bool"> <!-- this is copied to maximization. Keep that in sync. --> <xsd:restriction base="xsd:string"> |
