corrected order of cleanup code
Anselm R.Garbe arg@10ksloc.org
Wed, 16 Aug 2006 19:25:29 +0200
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
main.c
→
main.c
@@ -33,9 +33,9 @@ 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); + XDestroyWindow(dpy, barwin); XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime); XSync(dpy, False); }