border, not borderwidth.

add osd.border stuff to themetoxml
This commit is contained in:
Dana Jansens 2007-06-05 16:05:22 +00:00
parent 8349e4ca6b
commit ad22b4db81
2 changed files with 5 additions and 3 deletions

View file

@ -147,20 +147,20 @@
<xs:complexType name="windowDimensions">
<xs:all>
<xs:element name="borderwidth" type="xs:integer" minOccurs="0"/>
<xs:element name="border" type="xs:integer" minOccurs="0"/>
<xs:element name="clientpadding" type="obt:point" minOccurs="0"/>
</xs:all>
</xs:complexType>
<xs:complexType name="menuDimensions">
<xs:all>
<xs:element name="borderwidth" type="xs:integer" minOccurs="0"/>
<xs:element name="border" type="xs:integer" minOccurs="0"/>
</xs:all>
</xs:complexType>
<xs:complexType name="osdDimensions">
<xs:all>
<xs:element name="borderwidth" type="xs:integer" minOccurs="0"/>
<xs:element name="border" type="xs:integer" minOccurs="0"/>
</xs:all>
</xs:complexType>

View file

@ -374,6 +374,8 @@ int main(int argc, char **argv)
COLOR3("window", "inactive", "titleseparator", i, j, k, 255);
if (read_color(db, "menu.border.color", &i, &j, &k))
COLOR2("menu", "border", i, j, k, 255);
if (read_color(db, "osd.border.color", &i, &j, &k))
COLOR2("osd", "border", i, j, k, 255);
if (read_int(db, "window.client.padding.width", &i)) {
ATTR3("dimensions", "window", "clientpadding", "x", NUM(i));