fixed cleanup, using clients instead of sel
parent
9056d7ea88
commit
b5d297f02f
6
main.c
6
main.c
|
@ -40,9 +40,9 @@ static Bool otherwm, readin;
|
||||||
static void
|
static void
|
||||||
cleanup(void) {
|
cleanup(void) {
|
||||||
close(STDIN_FILENO);
|
close(STDIN_FILENO);
|
||||||
while(sel) {
|
while(clients) {
|
||||||
resize(sel, True, TopLeft);
|
resize(clients, True, TopLeft);
|
||||||
unmanage(sel);
|
unmanage(clients);
|
||||||
}
|
}
|
||||||
if(dc.font.set)
|
if(dc.font.set)
|
||||||
XFreeFontSet(dpy, dc.font.set);
|
XFreeFontSet(dpy, dc.font.set);
|
||||||
|
|
Loading…
Reference in New Issue