|
|
@@ -1249,6 +1249,8 @@ cleanmenu(struct Menu *menu) |
|
|
|
static void |
|
|
|
cleanup(void) |
|
|
|
{ |
|
|
|
size_t i; |
|
|
|
|
|
|
|
XUngrabPointer(dpy, CurrentTime); |
|
|
|
XUngrabKeyboard(dpy, CurrentTime); |
|
|
|
|
|
|
@@ -1259,6 +1261,9 @@ cleanup(void) |
|
|
|
XftColorFree(dpy, visual, colormap, &dc.separator); |
|
|
|
XftColorFree(dpy, visual, colormap, &dc.border); |
|
|
|
|
|
|
|
for (i = 0; i < dc.nfonts; i++) |
|
|
|
XftFontClose(dpy, dc.fonts[i]); |
|
|
|
|
|
|
|
XFreeGC(dpy, dc.gc); |
|
|
|
XCloseDisplay(dpy); |
|
|
|
} |
|
|
|