mirror of git://git.suckless.org/dwm
corrected order of cleanup code
This commit is contained in:
parent
b5c2412d84
commit
a635743c6d
2
main.c
2
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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue