Mercurial > aewl
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 wrap: on
line diff
--- a/draw.c Fri Aug 11 18:11:39 2006 +0200 +++ b/draw.c Fri Aug 11 18:37:41 2006 +0200 @@ -109,9 +109,9 @@ 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);