summaryrefslogtreecommitdiffstats
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
parentchanged comment of updatesizehints (diff)
downloaddwm-b5d297f02fb545c421468398cabca56c61bab36c.tar.gz
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;
40static void 40static void
41cleanup(void) { 41cleanup(void) {
42 close(STDIN_FILENO); 42 close(STDIN_FILENO);
43 while(sel) { 43 while(clients) {
44 resize(sel, True, TopLeft); 44 resize(clients, True, TopLeft);
45 unmanage(sel); 45 unmanage(clients);
46 } 46 }
47 if(dc.font.set) 47 if(dc.font.set)
48 XFreeFontSet(dpy, dc.font.set); 48 XFreeFontSet(dpy, dc.font.set);