aewl

diff main.c @ 641:107719a9ce3b

fixed cleanup, using clients instead of sel
author arg@mig29
date Tue, 02 Jan 2007 14:40:18 +0100
parents bda4880c462d
children e90bf387bf6f
line diff
     1.1 --- a/main.c	Tue Jan 02 12:28:02 2007 +0100
     1.2 +++ b/main.c	Tue Jan 02 14:40:18 2007 +0100
     1.3 @@ -40,9 +40,9 @@
     1.4  static void
     1.5  cleanup(void) {
     1.6  	close(STDIN_FILENO);
     1.7 -	while(sel) {
     1.8 -		resize(sel, True, TopLeft);
     1.9 -		unmanage(sel);
    1.10 +	while(clients) {
    1.11 +		resize(clients, True, TopLeft);
    1.12 +		unmanage(clients);
    1.13  	}
    1.14  	if(dc.font.set)
    1.15  		XFreeFontSet(dpy, dc.font.set);