summaryrefslogtreecommitdiff
path: root/draw.c
diff options
context:
space:
mode:
authorAnselm R.Garbe <arg@10ksloc.org>2006-08-11 18:37:41 +0200
committerAnselm R.Garbe <arg@10ksloc.org>2006-08-11 18:37:41 +0200
commitd7413ffd2d9a84fc3140b28b26f8cb6bb80164e4 (patch)
tree7e7f0f998a77610178e91d57c175526332098abd /draw.c
parent50729a2e73bc142ba79aa335012d401fca2391d3 (diff)
implement multi-tag selection through button3 click on the specific tag
Diffstat (limited to 'draw.c')
-rw-r--r--draw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/draw.c b/draw.c
index 6466f417..bdbe85ae 100644
--- a/draw.c
+++ b/draw.c
@@ -109,9 +109,9 @@ drawstatus()
dc.x += dc.w;
dc.w = textw(tags[i]);
if(istile)
- drawtext(tags[i], (i == tsel));
+ drawtext(tags[i], tsel[i]);
else
- drawtext(tags[i], (i != tsel));
+ drawtext(tags[i], !tsel[i]);
}
x = dc.x + dc.w;
dc.w = textw(stext);