tcorrected order of cleanup code - dwm - [fork] customized build of dwm, the dynamic window manager (HTM) git clone git://src.adamsgaard.dk/dwm (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit a635743c6dd8e945bbca6b5799dd00c86fe847e6 (DIR) parent b5c2412d848011ebf0f29c73d4ca01f52006990c (HTM) Author: Anselm R.Garbe <arg@10ksloc.org> Date: Wed, 16 Aug 2006 19:25:29 +0200 corrected order of cleanup code Diffstat: M main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- (DIR) diff --git a/main.c b/main.c t@@ -33,9 +33,9 @@ cleanup() 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); }