summaryrefslogtreecommitdiffstats
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
parentafter some days of experimenting with grey background, I finally give up and ... (diff)
downloaddwm-d7413ffd2d9a84fc3140b28b26f8cb6bb80164e4.tar.gz
dwm-d7413ffd2d9a84fc3140b28b26f8cb6bb80164e4.zip
implement multi-tag selection through button3 click on the specific tag
Diffstat (limited to '')
-rw-r--r--draw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/draw.c b/draw.c
index 6466f41..bdbe85a 100644
--- a/draw.c
+++ b/draw.c
@@ -109,9 +109,9 @@ drawstatus()
109 dc.x += dc.w; 109 dc.x += dc.w;
110 dc.w = textw(tags[i]); 110 dc.w = textw(tags[i]);
111 if(istile) 111 if(istile)
112 drawtext(tags[i], (i == tsel)); 112 drawtext(tags[i], tsel[i]);
113 else 113 else
114 drawtext(tags[i], (i != tsel)); 114 drawtext(tags[i], !tsel[i]);
115 } 115 }
116 x = dc.x + dc.w; 116 x = dc.x + dc.w;
117 dc.w = textw(stext); 117 dc.w = textw(stext);