Krolyxon
Commit 7177270

Branches

Refs →

nsxiv7177270

Changed default font string, removed missing fontset warnings

Author
Bert Münnich
Date
2012-02-12 19:06 +0100
Parent
b845827
Commit
7177270c10b51f60753f45070565ac2fb7e130db

+2 −5

2 files changed

  1. M config.def.h +1 −1
  2. M window.c +1 −4
M config.def.h View
@@ -9,7 +9,7 @@ enum {
99 /* bar font:
1010 * (see X(7) section "FONT NAMES" for valid values)
1111 */
12−static const char * const BAR_FONT = "6x13";
12+static const char * const BAR_FONT = "fixed";
1313
1414 /* colors:
1515 * (see X(7) section "COLOR NAMES" for valid values)
M window.c View
@@ -54,11 +54,8 @@ void win_init_font(Display *dpy, const char *fontstr) {
5454 char *def, **missing;
5555
5656 font.set = XCreateFontSet(dpy, fontstr, &missing, &n, &def);
57− if (missing) {
58− while (n--)
59− warn("missing fontset: %s", missing[n]);
57+ if (missing)
6058 XFreeStringList(missing);
61− }
6259 if (font.set) {
6360 XFontStruct **xfonts;
6461 char **font_names;