projects
/
mikachu
/
openbox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow to use a pango font description string.
[mikachu/openbox.git]
/
openbox
/
config.c
diff --git
a/openbox/config.c
b/openbox/config.c
index
92c4fe0
..
a7f796f
100644
(file)
--- a/
openbox/config.c
+++ b/
openbox/config.c
@@
-785,6
+785,12
@@
static void parse_theme(xmlNodePtr node, gpointer d)
*font = RrFontOpen(ob_rr_inst, name, size, weight, slant);
g_free(name);
+
+ if ((fnode = obt_xml_find_node(n->children, "description"))) {
+ gchar *s = obt_xml_node_string(fnode);
+ RrFontDescriptionFromString(*font, s);
+ g_free(s);
+ }
}
}