Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
changed Client->tags and Rule->tags to be Bool (I'll also try to remove the TLast...
[dwm.git]
/
client.c
diff --git
a/client.c
b/client.c
index
b6bda92
..
f4ed1a0
100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-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;