aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tag.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/tag.c b/tag.c
index b5bebea..edf68c6 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