applied sanders man page patch, removed button2 from bar click

This commit is contained in:
Anselm R.Garbe
2006-08-14 18:14:08 +02:00
parent 78b050c13c
commit 3e06edeb5d
2 changed files with 24 additions and 22 deletions

View File

@ -109,10 +109,10 @@ buttonpress(XEvent *e)
for(a.i = 0; a.i < ntags; a.i++) {
x += textw(tags[a.i]);
if(ev->x < x) {
if(ev->button == Button3)
toggleview(&a);
else
if(ev->button == Button1)
view(&a);
else if(ev->button == Button3)
toggleview(&a);
return;
}
}