diff options
author | Anselm R.Garbe <arg@10ksloc.org> | 2006-08-16 19:25:29 +0200 |
---|---|---|
committer | Anselm R.Garbe <arg@10ksloc.org> | 2006-08-16 19:25:29 +0200 |
commit | a635743c6dd8e945bbca6b5799dd00c86fe847e6 (patch) | |
tree | d05f72986b4654bbeeb562512dbf4fe75da9f0ad /main.c | |
parent | b5c2412d848011ebf0f29c73d4ca01f52006990c (diff) | |
download | dwm-a635743c6dd8e945bbca6b5799dd00c86fe847e6.tar.gz |
corrected order of cleanup code
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c index 50fb9d7..d566c9e 100644 --- a/main.c +++ b/main.c @@ -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); } |