comparison main.c @ 641:107719a9ce3b 2.8

fixed cleanup, using clients instead of sel
author arg@mig29
date Tue, 02 Jan 2007 14:40:18 +0100
parents bda4880c462d
children e90bf387bf6f
comparison
equal deleted inserted replaced
640:9cd88c168f41 641:107719a9ce3b
38 static Bool otherwm, readin; 38 static Bool otherwm, readin;
39 39
40 static void 40 static void
41 cleanup(void) { 41 cleanup(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);
49 else 49 else
50 XFreeFont(dpy, dc.font.xfont); 50 XFreeFont(dpy, dc.font.xfont);