all repos — openbox @ 307befd333dd89a990e541c37c8c3717e125dcdf

openbox fork - make it a bit more like ryudo

add the position's force attribute to the default rc.xml and xsd
Dana Jansens danakj@orodu.net
commit

307befd333dd89a990e541c37c8c3717e125dcdf

parent

265bdd46605367e1cb35dcd9d8ff2c98fae70166

2 files changed, 5 insertions(+), 1 deletions(-)

jump to
M data/rc.xmldata/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
M data/rc.xsddata/rc.xsd

@@ -175,6 +175,7 @@ <xsd:element name="x" type="ob:center_or_int"/>

<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"/>