replace hand rolled font_make() with XftFontOpenName() and merge into

font_init().
This commit is contained in:
okan
2012-11-28 14:14:44 +00:00
parent 93f64ffc55
commit fad4798e5b
3 changed files with 8 additions and 23 deletions

3
conf.c
View File

@@ -62,8 +62,7 @@ conf_gap(struct conf *c, struct screen_ctx *sc)
void
conf_font(struct conf *c, struct screen_ctx *sc)
{
font_init(sc, c->color[CWM_COLOR_FONT].name);
sc->font = font_make(sc, c->font);
font_init(sc, c->font, c->color[CWM_COLOR_FONT].name);
}
static struct color color_binds[] = {