changeset 379:fc279cd6c7be

fix client position in list also on tag and toggletag
author Anselm R. Garbe <arg@10kloc.org>
date Tue, 29 Aug 2006 09:25:14 +0200
parents 83576f5f0a90
children 4bf79305d675
files tag.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tag.c	Tue Aug 29 09:23:44 2006 +0200
+++ b/tag.c	Tue Aug 29 09:25:14 2006 +0200
@@ -120,6 +120,8 @@
 		sel->tags[i] = False;
 	sel->tags[arg->i] = True;
 	settitle(sel);
+	detach(sel);
+	attach(sel);
 	if(!isvisible(sel))
 		arrange(NULL);
 	else
@@ -139,6 +141,8 @@
 	if(i == ntags)
 		sel->tags[arg->i] = True;
 	settitle(sel);
+	detach(sel);
+	attach(sel);
 	if(!isvisible(sel))
 		arrange(NULL);
 	else