made barclick to select the specific tag

This commit is contained in:
Anselm R. Garbe
2006-07-14 10:34:07 +02:00
parent 9cd686c93a
commit 6458d72572
6 changed files with 36 additions and 4 deletions

View File

@ -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: