changeset: 2258:3bf92fabfb6b
user: Kris Maglione <jg_AT_suckless.org>
date: Thu Jan 24 19:50:54 2008 -0500
summary: Enable tagrules for grouped clients.
diff -r cbaecd18e094 -r 3bf92fabfb6b cmd/wmii/client.c
--- a/cmd/wmii/client.c Wed Jan 23 22:31:22 2008 -0500
+++ b/cmd/wmii/client.c Thu Jan 24 19:50:54 2008 -0500
@@ -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)
Received on Fri Jan 25 2008 - 02:05:37 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:59:09 UTC