JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
applied the saner patch (removed the pathetic one)
authorAnselm R.Garbe <arg@10ksloc.org>
Mon, 14 Aug 2006 13:33:23 +0000 (15:33 +0200)
committerAnselm R.Garbe <arg@10ksloc.org>
Mon, 14 Aug 2006 13:33:23 +0000 (15:33 +0200)
tag.c

diff --git a/tag.c b/tag.c
index b5bebea..edf68c6 100644 (file)
--- 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