all repos — dwm @ d99ec6148258bd7933f3359ba05080e95f9ecb71

my dwm build

a small fix to buttonpress
Anselm R Garbe garbeam@gmail.com
Thu, 28 Feb 2008 17:13:13 +0000
commit

d99ec6148258bd7933f3359ba05080e95f9ecb71

parent

2f70a14ee12bad6bf8dd5aa5489d88cddfaa3b06

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M dwm.cdwm.c

@@ -291,8 +291,6 @@ c->view = selview;

} } - - 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) {