dwm-meillo
diff main.c @ 295:7565875d07d3
extended cleanup
author | Anselm R.Garbe <arg@10ksloc.org> |
---|---|
date | Tue, 15 Aug 2006 09:37:12 +0200 |
parents | 093744cc5353 |
children | 3b11e32e8d7e |
line diff
1.1 --- a/main.c Tue Aug 15 08:38:19 2006 +0200 1.2 +++ b/main.c Tue Aug 15 09:37:12 2006 +0200 1.3 @@ -27,7 +27,14 @@ 1.4 resize(sel, True, TopLeft); 1.5 unmanage(sel); 1.6 } 1.7 + if(dc.font.set) 1.8 + XFreeFontSet(dpy, dc.font.set); 1.9 + else 1.10 + XFreeFont(dpy, dc.font.xfont); 1.11 XUngrabKey(dpy, AnyKey, AnyModifier, root); 1.12 + XDestroyWindow(dpy, barwin); 1.13 + XFreePixmap(dpy, dc.drawable); 1.14 + XFreeGC(dpy, dc.gc); 1.15 XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime); 1.16 XSync(dpy, False); 1.17 }