dwm-meillo
diff event.c @ 58:1269bd127551
made barclick to select the specific tag
author | Anselm R. Garbe <garbeam@wmii.de> |
---|---|
date | Fri, 14 Jul 2006 10:34:07 +0200 |
parents | fcbf7213d96f |
children | f14858218641 |
line diff
1.1 --- a/event.c Fri Jul 14 10:07:38 2006 +0200 1.2 +++ b/event.c Fri Jul 14 10:34:07 2006 +0200 1.3 @@ -50,7 +50,9 @@ 1.4 XButtonPressedEvent *ev = &e->xbutton; 1.5 Client *c; 1.6 1.7 - if((c = getclient(ev->window))) { 1.8 + if(barwin == ev->window) 1.9 + barclick(ev); 1.10 + else if((c = getclient(ev->window))) { 1.11 craise(c); 1.12 switch(ev->button) { 1.13 default: