X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=tag.c;h=edf68c6d0c327154fdf56611eafc874a53452dea;hb=9eef9f7b0277a893fb5e22ac109f785faf573580;hp=b5bebea241478dfee1cb17216e10678a8a3e0486;hpb=fe3dfbbe90f813294bb69e41f996a000f63c1560;p=dwm.git 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