summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-02-06 09:22:04 -0500
committerDana Jansens <danakj@orodu.net>2008-02-06 09:22:04 -0500
commit307befd333dd89a990e541c37c8c3717e125dcdf (patch)
tree72fc69d9ccbdb64472ae162115803b9ae1155728
parent265bdd46605367e1cb35dcd9d8ff2c98fae70166 (diff)
add the position's force attribute to the default rc.xml and xsd
-rw-r--r--data/rc.xml5
-rw-r--r--data/rc.xsd1
2 files changed, 5 insertions, 1 deletions
diff --git a/data/rc.xml b/data/rc.xml
index 90ec90d1..98daf274 100644
--- a/data/rc.xml
+++ b/data/rc.xml
@@ -664,9 +664,12 @@
<shade>no</shade>
# make the window shaded when it appears, or not
- <position>
+ <position force="no">
# the position is only used if both an x and y coordinate are provided
# (and not set to 'default')
+ # when force is "yes", then the window will be placed here even if it
+ # says you want it placed elsewhere. this is to override buggy
+ # applications who refuse to behave
<x>center</x>
# a number like 50, or 'center' to center on screen. use a negative number
# to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
diff --git a/data/rc.xsd b/data/rc.xsd
index 4b7d88d6..47eeed12 100644
--- a/data/rc.xsd
+++ b/data/rc.xsd
@@ -175,6 +175,7 @@
<xsd:element name="y" type="ob:center_or_int"/>
<xsd:element name="monitor" type="ob:mouse_or_int"/>
<xsd:element minOccurs="0" name="head" type="xsd:string"/>
+ <xsd:attribute name="force" type="ob:bool"/>
</xsd:complexType>
<xsd:complexType name="application">
<xsd:element minOccurs="0" name="decor" type="xsd:bool"/>