Hi, Here is a patch that change the weight of a Client when tagging it. The problem was when you change the tag of a Client and you zoom it, the next time you see to this view the Client is no more zoomed.
Cédric Krier
diff -ru dwm-1.3~/tag.c dwm-1.3/tag.c
--- dwm-1.3~/tag.c 2006-09-05 10:25:29.000000000 +0200
+++ dwm-1.3/tag.c 2006-09-05 11:34:36.000000000 +0200
@@ -121,6 +121,7 @@
for(i = 0; i < ntags; i++)
sel->tags[i] = False;
sel->tags[arg->i] = True;
+ sel->weight = arg->i;
arrange(NULL);
}
pgpjIyOqiv7xV.pgp
Description: PGP signature

