aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorarg@mig29 <unknown>2007-01-02 14:40:18 +0100
committerarg@mig29 <unknown>2007-01-02 14:40:18 +0100
commitb5d297f02fb545c421468398cabca56c61bab36c (patch)
tree283649555be68ff7ab513d5cddc0bfd2fa6a925e /main.c
parent9056d7ea8828822868614eab925c69cd17ba8b37 (diff)
downloaddwm-b5d297f02fb545c421468398cabca56c61bab36c.tar.gz
dwm-b5d297f02fb545c421468398cabca56c61bab36c.tar.bz2
dwm-b5d297f02fb545c421468398cabca56c61bab36c.zip
fixed cleanup, using clients instead of sel
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.c b/main.c
index c42d1ff..5a22982 100644
--- a/main.c
+++ b/main.c
@@ -40,9 +40,9 @@ static Bool otherwm, readin;
static void
cleanup(void) {
close(STDIN_FILENO);
- while(sel) {
- resize(sel, True, TopLeft);
- unmanage(sel);
+ while(clients) {
+ resize(clients, True, TopLeft);
+ unmanage(clients);
}
if(dc.font.set)
XFreeFontSet(dpy, dc.font.set);