]> Dogcows Code - chaz/openbox/commitdiff
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 90ec90d1484425b816938f046461958d45bf1726..98daf274a614f3e3df5bfaa8b2e3661ecf373245 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 4b7d88d6c8b126145c08e40c8bb10130fa2fc9d9..47eeed12958d87a1e9580765dc399866c9417c89 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"/>
This page took 0.026529 seconds and 4 git commands to generate.