Mercurial > dwm-meillo
diff client.c @ 261:d6fd632d861c
implement multi-tag selection through button3 click on the specific tag
author | Anselm R.Garbe <arg@10ksloc.org> |
---|---|
date | Fri, 11 Aug 2006 18:37:41 +0200 |
parents | 3692c9324977 |
children | dacd3f3c5823 |
line wrap: on
line diff
--- a/client.c Fri Aug 11 18:11:39 2006 +0200 +++ b/client.c Fri Aug 11 18:37:41 2006 +0200 @@ -24,7 +24,7 @@ c->tw = c->w + 2; c->tx = c->x + c->w - c->tw + 2; c->ty = c->y; - if(c->tags[tsel]) + if(isvisible(c)) XMoveResizeWindow(dpy, c->title, c->tx, c->ty, c->tw, c->th); else XMoveResizeWindow(dpy, c->title, c->tx + 2 * sw, c->ty, c->tw, c->th); @@ -276,7 +276,7 @@ /* mapping the window now prevents flicker */ XMapRaised(dpy, c->win); XMapRaised(dpy, c->title); - if(c->tags[tsel]) + if(isvisible(c)) focus(c); }