made barclick to select the specific tag
This commit is contained in:
parent
9cd686c93a
commit
6458d72572
6 changed files with 36 additions and 4 deletions
4
event.c
4
event.c
|
@ -50,7 +50,9 @@ buttonpress(XEvent *e)
|
|||
XButtonPressedEvent *ev = &e->xbutton;
|
||||
Client *c;
|
||||
|
||||
if((c = getclient(ev->window))) {
|
||||
if(barwin == ev->window)
|
||||
barclick(ev);
|
||||
else if((c = getclient(ev->window))) {
|
||||
craise(c);
|
||||
switch(ev->button) {
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue