dwm-meillo

diff client.c @ 173:1db04019684e

changed Client->tags and Rule->tags to be Bool (I'll also try to remove the TLast enum)
author arg@10ksloc.org
date Thu, 03 Aug 2006 10:55:07 +0200
parents 21071ae1fe68
children e848966a1ac6
line diff
     1.1 --- a/client.c	Wed Aug 02 17:49:21 2006 +0200
     1.2 +++ b/client.c	Thu Aug 03 10:55:07 2006 +0200
     1.3 @@ -18,7 +18,7 @@
     1.4  	c->tw = 0;
     1.5  	for(i = 0; i < TLast; i++)
     1.6  		if(c->tags[i])
     1.7 -			c->tw += textw(c->tags[i]);
     1.8 +			c->tw += textw(tags[i]);
     1.9  	c->tw += textw(c->name);
    1.10  	if(c->tw > c->w)
    1.11  		c->tw = c->w + 2;