aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.mk2
-rw-r--r--draw.c4
2 files changed, 1 insertions, 5 deletions
diff --git a/config.mk b/config.mk
index b325d05..6961464 100644
--- a/config.mk
+++ b/config.mk
@@ -1,5 +1,5 @@
# dwm version
-VERSION = 2.5.1
+VERSION = 2.6
# Customize below to fit your system
diff --git a/draw.c b/draw.c
index a67ac58..c0b233f 100644
--- a/draw.c
+++ b/draw.c
@@ -179,10 +179,6 @@ setfont(const char *fontstr) {
while(n--)
fprintf(stderr, "missing fontset: %s\n", missing[n]);
XFreeStringList(missing);
- if(dc.font.set) {
- XFreeFontSet(dpy, dc.font.set);
- dc.font.set = NULL;
- }
}
if(dc.font.set) {
XFontSetExtents *font_extents;