diff options
author | Anselm R.Garbe <arg@10ksloc.org> | 2006-08-15 09:37:12 +0200 |
---|---|---|
committer | Anselm R.Garbe <arg@10ksloc.org> | 2006-08-15 09:37:12 +0200 |
commit | 24d91e3b8a6e173bf65d5dd611b164dcb6a01978 (patch) | |
tree | 097e9daa6013e199f2d93e0c59c9ffc8845361ce /main.c | |
parent | ce04a665282e4f63d47aa4c4b2f108ebb4fce5e6 (diff) |
extended cleanup
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -27,7 +27,14 @@ cleanup() resize(sel, True, TopLeft); unmanage(sel); } + if(dc.font.set) + XFreeFontSet(dpy, dc.font.set); + else + XFreeFont(dpy, dc.font.xfont); XUngrabKey(dpy, AnyKey, AnyModifier, root); + XDestroyWindow(dpy, barwin); + XFreePixmap(dpy, dc.drawable); + XFreeGC(dpy, dc.gc); XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime); XSync(dpy, False); } |