projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
265bdd4
)
add the position's force attribute to the default rc.xml and xsd
author
Dana Jansens
<danakj@orodu.net>
Wed, 6 Feb 2008 14:22:04 +0000
(09:22 -0500)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 6 Feb 2008 14:22:04 +0000
(09:22 -0500)
data/rc.xml
patch
|
blob
|
history
data/rc.xsd
patch
|
blob
|
history
diff --git
a/data/rc.xml
b/data/rc.xml
index
90ec90d
..
98daf27
100644
(file)
--- a/
data/rc.xml
+++ b/
data/rc.xml
@@
-664,9
+664,12
@@
<shade>no</shade>
# make the window shaded when it appears, or not
<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')
# 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
<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
4b7d88d
..
47eeed1
100644
(file)
--- 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: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"/>
</xsd:complexType>
<xsd:complexType name="application">
<xsd:element minOccurs="0" name="decor" type="xsd:bool"/>