diff options
author | okan | 2012-11-28 14:14:44 +0000 |
---|---|---|
committer | okan | 2012-11-28 14:14:44 +0000 |
commit | d16264bf90da79427118a7a1cea97aea40e3214e (patch) | |
tree | 5833630167ed00d20838f6de68a60cc33d3402a7 /conf.c | |
parent | 94322ab4b003d971f561881fc600cffaa102a345 (diff) | |
download | cwm-d16264bf90da79427118a7a1cea97aea40e3214e.tar.gz |
replace hand rolled font_make() with XftFontOpenName() and merge into
font_init().
Diffstat (limited to '')
-rw-r--r-- | conf.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: conf.c,v 1.109 2012/11/14 21:31:53 okan Exp $ + * $OpenBSD: conf.c,v 1.110 2012/11/28 14:14:44 okan Exp $ */ #include <sys/param.h> @@ -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[] = { |