summaryrefslogtreecommitdiff
path: root/data/rc.xsd
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2008-02-14 10:51:35 +0100
committerMikael Magnusson <mikachu@comhem.se>2008-02-14 19:43:02 +0100
commit1124d1036984f920dcd5b2caec9ff8fe2d788b8a (patch)
tree6e0c626f33ee58e5888ceb4a11608f2103a34d16 /data/rc.xsd
parentbbf0eed8d146602e81e64e9bc6d1c451c260b52f (diff)
parentf1f61ff703db72cc1db7f834c9cb45616d55da10 (diff)
Merge branch 'backport' into work
Diffing against the old work branch where most of the changes in backport were cherry-picked from indicates this should be alright. (0de9097017d4d1991388a35e380a57dc1135b431)
Diffstat (limited to 'data/rc.xsd')
-rw-r--r--data/rc.xsd15
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">