applied sanders man page patch, removed button2 from bar click
This commit is contained in:
parent
78b050c13c
commit
3e06edeb5d
2 changed files with 24 additions and 22 deletions
6
event.c
6
event.c
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue