Mercurial > dwm-meillo
diff event.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 | 7a11e4312b17 |
children | d659a2dce2b5 |
line wrap: on
line diff
--- a/event.c Fri Aug 11 18:11:39 2006 +0200 +++ b/event.c Fri Aug 11 18:37:41 2006 +0200 @@ -108,7 +108,13 @@ for(a.i = 0; a.i < ntags; a.i++) { x += textw(tags[a.i]); if(ev->x < x) { - view(&a); + if(ev->button == Button3) { + tsel[a.i] = True; + arrange(NULL); + drawall(); + } + else + view(&a); return; } }