summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShawn <sabetts@juicebox>2008-05-25 00:27:03 -0700
committerShawn <sabetts@juicebox>2008-05-25 00:27:03 -0700
commitbf8dc854fbb0c258c67735153c18903aeb467c60 (patch)
treedd8e9e61d2f7f6f76f0cd256e4858f308b2b3ffe /src
parent8ff12976802745ddfd06b4016089b12a3182a86b (diff)
downloadratpoison-bf8dc854fbb0c258c67735153c18903aeb467c60.zip
don't free defaults.font when xft is enabled
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index bbd3366..9386845 100644
--- a/src/main.c
+++ b/src/main.c
@@ -817,7 +817,9 @@ clean_up (void)
free_xinerama();
+#ifndef USE_XFT_FONT
XFreeFontSet (dpy, defaults.font);
+#endif
free (defaults.window_fmt);
XSetInputFocus (dpy, PointerRoot, RevertToPointerRoot, CurrentTime);