nsxiv7177270
Changed default font string, removed missing fontset warnings
+2 −5
2 files changed
- M config.def.h +1 −1
- M window.c +1 −4
| @@ -9,7 +9,7 @@ enum { | |||
| 9 | 9 | /* bar font: | |
| 10 | 10 | * (see X(7) section "FONT NAMES" for valid values) | |
| 11 | 11 | */ | |
| 12 | − | static const char * const BAR_FONT = "6x13"; | |
| 12 | + | static const char * const BAR_FONT = "fixed"; | |
| 13 | 13 | ||
| 14 | 14 | /* colors: | |
| 15 | 15 | * (see X(7) section "COLOR NAMES" for valid values) | |
| @@ -54,11 +54,8 @@ void win_init_font(Display *dpy, const char *fontstr) { | |||
| 54 | 54 | char *def, **missing; | |
| 55 | 55 | ||
| 56 | 56 | font.set = XCreateFontSet(dpy, fontstr, &missing, &n, &def); | |
| 57 | − | if (missing) { | |
| 58 | − | while (n--) | |
| 59 | − | warn("missing fontset: %s", missing[n]); | |
| 57 | + | if (missing) | |
| 60 | 58 | XFreeStringList(missing); | |
| 61 | − | } | |
| 62 | 59 | if (font.set) { | |
| 63 | 60 | XFontStruct **xfonts; | |
| 64 | 61 | char **font_names; | |