still something wrong with reorder()
This commit is contained in:
parent
016c54196e
commit
9d73909075
4 changed files with 32 additions and 55 deletions
6
tag.c
6
tag.c
|
@ -106,6 +106,8 @@ settags(Client *c)
|
|||
if(!matched)
|
||||
for(i = 0; i < ntags; i++)
|
||||
c->tags[i] = seltag[i];
|
||||
for(i = 0; i < ntags && !c->tags[i]; i++);
|
||||
c->weight = i;
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -120,8 +122,6 @@ tag(Arg *arg)
|
|||
sel->tags[i] = False;
|
||||
sel->tags[arg->i] = True;
|
||||
settitle(sel);
|
||||
detach(sel);
|
||||
attach(sel);
|
||||
if(!isvisible(sel))
|
||||
arrange(NULL);
|
||||
else
|
||||
|
@ -141,8 +141,6 @@ toggletag(Arg *arg)
|
|||
if(i == ntags)
|
||||
sel->tags[arg->i] = True;
|
||||
settitle(sel);
|
||||
detach(sel);
|
||||
attach(sel);
|
||||
if(!isvisible(sel))
|
||||
arrange(NULL);
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue