parent
09d0a36e03
commit
164986763a
12
dmenu.c
12
dmenu.c
|
@ -92,13 +92,13 @@ calcoffsets(void)
|
||||||
static void
|
static void
|
||||||
cleanup(void)
|
cleanup(void)
|
||||||
{
|
{
|
||||||
|
size_t i;
|
||||||
|
|
||||||
XUngrabKey(dpy, AnyKey, AnyModifier, root);
|
XUngrabKey(dpy, AnyKey, AnyModifier, root);
|
||||||
drw_clr_free(scheme[SchemeNorm].bg);
|
for (i = 0; i < SchemeLast; i++) {
|
||||||
drw_clr_free(scheme[SchemeNorm].fg);
|
drw_clr_free(scheme[i].bg);
|
||||||
drw_clr_free(scheme[SchemeSel].fg);
|
drw_clr_free(scheme[i].fg);
|
||||||
drw_clr_free(scheme[SchemeSel].bg);
|
}
|
||||||
drw_clr_free(scheme[SchemeOut].fg);
|
|
||||||
drw_clr_free(scheme[SchemeOut].bg);
|
|
||||||
drw_free(drw);
|
drw_free(drw);
|
||||||
XSync(dpy, False);
|
XSync(dpy, False);
|
||||||
XCloseDisplay(dpy);
|
XCloseDisplay(dpy);
|
||||||
|
|
Loading…
Reference in New Issue