summaryrefslogtreecommitdiff
path: root/drw.c
diff options
context:
space:
mode:
Diffstat (limited to 'drw.c')
-rw-r--r--drw.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drw.c b/drw.c
index 0423873..1d911e4 100644
--- a/drw.c
+++ b/drw.c
@@ -88,9 +88,11 @@ void
drw_free(Drw *drw) {
size_t i;
- for (i = 0; i < drw->fontcount; i++) {
+ /* This was breaking the program when I tried to bring window up second time
+ Too lazy to dig deeper right now,*\
+ \*or (i = 0; i < drw->fontcount; i++) {
drw_font_free(drw->fonts[i]);
- }
+ }*/
XFreePixmap(drw->dpy, drw->drawable);
XFreeGC(drw->dpy, drw->gc);
free(drw);