From 7177270c10b51f60753f45070565ac2fb7e130db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20M=C3=BCnnich?= Date: Sun, 12 Feb 2012 19:06:07 +0100 Subject: [PATCH] Changed default font string, removed missing fontset warnings --- config.def.h | 2 +- window.c | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/config.def.h b/config.def.h index f455111..9dbd74d 100644 --- a/config.def.h +++ b/config.def.h @@ -9,7 +9,7 @@ enum { /* bar font: * (see X(7) section "FONT NAMES" for valid values) */ -static const char * const BAR_FONT = "6x13"; +static const char * const BAR_FONT = "fixed"; /* colors: * (see X(7) section "COLOR NAMES" for valid values) diff --git a/window.c b/window.c index fbc1f77..95108f5 100644 --- a/window.c +++ b/window.c @@ -54,11 +54,8 @@ void win_init_font(Display *dpy, const char *fontstr) { char *def, **missing; font.set = XCreateFontSet(dpy, fontstr, &missing, &n, &def); - if (missing) { - while (n--) - warn("missing fontset: %s", missing[n]); + if (missing) XFreeStringList(missing); - } if (font.set) { XFontStruct **xfonts; char **font_names;