aewl

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 diff
     1.1 --- a/tag.c	Tue Aug 29 09:23:44 2006 +0200
     1.2 +++ b/tag.c	Tue Aug 29 09:25:14 2006 +0200
     1.3 @@ -120,6 +120,8 @@
     1.4  		sel->tags[i] = False;
     1.5  	sel->tags[arg->i] = True;
     1.6  	settitle(sel);
     1.7 +	detach(sel);
     1.8 +	attach(sel);
     1.9  	if(!isvisible(sel))
    1.10  		arrange(NULL);
    1.11  	else
    1.12 @@ -139,6 +141,8 @@
    1.13  	if(i == ntags)
    1.14  		sel->tags[arg->i] = True;
    1.15  	settitle(sel);
    1.16 +	detach(sel);
    1.17 +	attach(sel);
    1.18  	if(!isvisible(sel))
    1.19  		arrange(NULL);
    1.20  	else