cleanup
This commit is contained in:
parent
1d12249948
commit
9311764fbb
10
speedwm.c
10
speedwm.c
|
@ -1538,11 +1538,11 @@ cleanupmon(Monitor *mon)
|
||||||
size_t i;
|
size_t i;
|
||||||
|
|
||||||
for (i = 0; i < LENGTH(ftags); i++)
|
for (i = 0; i < LENGTH(ftags); i++)
|
||||||
if (m->tagmap[i])
|
if (mon->tagmap[i])
|
||||||
XFreePixmap(dpy, m->tagmap[i]);
|
XFreePixmap(dpy, mon->tagmap[i]);
|
||||||
free(m->tagmap);
|
free(mon->tagmap);
|
||||||
XUnmapWindow(dpy, m->tagwin);
|
XUnmapWindow(dpy, mon->tagwin);
|
||||||
XDestroyWindow(dpy, m->tagwin);
|
XDestroyWindow(dpy, mon->tagwin);
|
||||||
#endif
|
#endif
|
||||||
free(mon);
|
free(mon);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue