wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit daf0495a9c383e2139289dc71bb73480e0d5868f
parent 6b42d0176ec2792d55afab9cc6d2424601c24ac5
Author: Kris Maglione <jg@suckless.org>
Date:   Thu, 24 Jan 2008 19:50:54 -0500

Enable tagrules for grouped clients.

Diffstat:
cmd/wmii/client.c | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/cmd/wmii/client.c b/cmd/wmii/client.c @@ -181,7 +181,7 @@ client_manage(Client *c) { free(tags); /* Maybe not the best idea... */ - if(!trans || !c->tags[0]) + if(!c->trans || !c->tags[0]) apply_rules(c); apply_tags(c, c->tags); @@ -190,7 +190,8 @@ client_manage(Client *c) { bool newgroup = !c->group || c->group->ref == 1 - || selclient() && (selclient()->group == c->group); + || selclient() && (selclient()->group == c->group) + || group_leader(c->group) && !client_viewframe(group_leader(c->group), c->sel->view); f = c->sel; if(f->view == screen->sel)