enforcing using fontsets even if they are incomplete for some encodings

pull/1/head
arg@mig29 18 years ago
parent 99964398e7
commit 9bd9ea423e
  1. 2
      config.mk
  2. 4
      draw.c

@ -1,5 +1,5 @@
# dwm version # dwm version
VERSION = 2.5.1 VERSION = 2.6
# Customize below to fit your system # Customize below to fit your system

@ -179,10 +179,6 @@ setfont(const char *fontstr) {
while(n--) while(n--)
fprintf(stderr, "missing fontset: %s\n", missing[n]); fprintf(stderr, "missing fontset: %s\n", missing[n]);
XFreeStringList(missing); XFreeStringList(missing);
if(dc.font.set) {
XFreeFontSet(dpy, dc.font.set);
dc.font.set = NULL;
}
} }
if(dc.font.set) { if(dc.font.set) {
XFontSetExtents *font_extents; XFontSetExtents *font_extents;

Loading…
Cancel
Save