add the position's force attribute to the default rc.xml and xsd
authorDana Jansens <danakj@orodu.net>
Wed, 6 Feb 2008 14:22:04 +0000 (09:22 -0500)
committerDana Jansens <danakj@orodu.net>
Wed, 6 Feb 2008 14:22:04 +0000 (09:22 -0500)
data/rc.xml
data/rc.xsd

index 90ec90d..98daf27 100644 (file)
     <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
index 4b7d88d..47eeed1 100644 (file)
         <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"/>