summaryrefslogtreecommitdiff
path: root/tag.c
diff options
context:
space:
mode:
Diffstat (limited to 'tag.c')
-rw-r--r--tag.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/tag.c b/tag.c
index b5bebea2..edf68c6d 100644
--- a/tag.c
+++ b/tag.c
@@ -37,15 +37,11 @@ void (*arrange)(Arg *) = DEFMODE;
void
appendtag(Arg *arg)
{
- Client *c = sel;
-
- if(!c)
+ if(!sel)
return;
- c->tags[arg->i] = True;
- arrange(NULL);
- focus(c);
- restack();
+ sel->tags[arg->i] = True;
+ settitle(sel);
}
void