author | Anselm R Garbe <garbeam@gmail.com> |
Thu, 28 Feb 2008 17:13:13 +0000 | |
changeset 1108 | aab1c3addbaf |
parent 1107 | 589074fac88d |
child 1109 | 55e2f7e96b71 |
--- a/dwm.c Thu Feb 28 17:07:30 2008 +0000 +++ b/dwm.c Thu Feb 28 17:13:13 2008 +0000 @@ -291,8 +291,6 @@ } } - - void arrange(void) { unsigned int i; @@ -342,6 +340,8 @@ if(ev->window == selview->barwin) { x = 0; for(i = 0; i < LENGTH(tags); i++) { + if(&views[vtags[i]] != selview) + continue; x += textw(tags[i]); if(ev->x < x) { if(ev->button == Button1) {