dwm-meillo
diff draw.c @ 261:d6fd632d861c
implement multi-tag selection through button3 click on the specific tag
author | Anselm R.Garbe <arg@10ksloc.org> |
---|---|
date | Fri, 11 Aug 2006 18:37:41 +0200 |
parents | 32dc3acfffc0 |
children | d659a2dce2b5 |
line diff
1.1 --- a/draw.c Fri Aug 11 18:11:39 2006 +0200 1.2 +++ b/draw.c Fri Aug 11 18:37:41 2006 +0200 1.3 @@ -109,9 +109,9 @@ 1.4 dc.x += dc.w; 1.5 dc.w = textw(tags[i]); 1.6 if(istile) 1.7 - drawtext(tags[i], (i == tsel)); 1.8 + drawtext(tags[i], tsel[i]); 1.9 else 1.10 - drawtext(tags[i], (i != tsel)); 1.11 + drawtext(tags[i], !tsel[i]); 1.12 } 1.13 x = dc.x + dc.w; 1.14 dc.w = textw(stext);