changed Client->tags and Rule->tags to be Bool (I'll also try to remove the TLast enum)

This commit is contained in:
arg@10ksloc.org
2006-08-03 10:55:07 +02:00
parent 5d3fd3707b
commit 8cc7f3bace
6 changed files with 18 additions and 17 deletions

View File

@ -18,7 +18,7 @@ resizetitle(Client *c)
c->tw = 0;
for(i = 0; i < TLast; i++)
if(c->tags[i])
c->tw += textw(c->tags[i]);
c->tw += textw(tags[i]);
c->tw += textw(c->name);
if(c->tw > c->w)
c->tw = c->w + 2;