Enable tagrules for grouped clients.

This commit is contained in:
Kris Maglione 2008-01-24 19:50:54 -05:00
parent 6b42d0176e
commit daf0495a9c
1 changed files with 3 additions and 2 deletions

View File

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