projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5c2412
)
corrected order of cleanup code
author
Anselm R.Garbe
<arg@10ksloc.org>
Wed, 16 Aug 2006 17:25:29 +0000
(19:25 +0200)
committer
Anselm R.Garbe
<arg@10ksloc.org>
Wed, 16 Aug 2006 17:25:29 +0000
(19:25 +0200)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index 50fb9d72dcf631e9c8c2c4394b16a95ecd3f008f..d566c9e3055ae782b3bf5a9a901b86fbcecbd480 100644
(file)
--- 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);
}