diff options
author | zavok <an2qzavok@gmail.com> | 2015-12-02 23:20:29 +0300 |
---|---|---|
committer | zavok <an2qzavok@gmail.com> | 2015-12-02 23:20:29 +0300 |
commit | 682a9649bd0371d7c1554ecbd38954dc0b9299af (patch) | |
tree | a3c7110df8a34d6aa3138772d43f3c7fad6eff32 /drw.c | |
parent | 2df401ad8c93e0fafb81c1832fc99a4be8b4ac4f (diff) |
bugfix, you can bring window up more than once now
Diffstat (limited to 'drw.c')
-rw-r--r-- | drw.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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); |