|
|
@ -33,9 +33,9 @@ cleanup()
|
|
|
|
else
|
|
|
|
else
|
|
|
|
XFreeFont(dpy, dc.font.xfont);
|
|
|
|
XFreeFont(dpy, dc.font.xfont);
|
|
|
|
XUngrabKey(dpy, AnyKey, AnyModifier, root);
|
|
|
|
XUngrabKey(dpy, AnyKey, AnyModifier, root);
|
|
|
|
XDestroyWindow(dpy, barwin);
|
|
|
|
|
|
|
|
XFreePixmap(dpy, dc.drawable);
|
|
|
|
XFreePixmap(dpy, dc.drawable);
|
|
|
|
XFreeGC(dpy, dc.gc);
|
|
|
|
XFreeGC(dpy, dc.gc);
|
|
|
|
|
|
|
|
XDestroyWindow(dpy, barwin);
|
|
|
|
XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime);
|
|
|
|
XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime);
|
|
|
|
XSync(dpy, False);
|
|
|
|
XSync(dpy, False);
|
|
|
|
}
|
|
|
|
}
|
|
|
|