about summary refs log tree commit diff stats
path: root/tag.c
diff options
context:
space:
mode:
authorAnselm R.Garbe <arg@10ksloc.org>2006-08-14 15:33:23 +0200
committerAnselm R.Garbe <arg@10ksloc.org>2006-08-14 15:33:23 +0200
commitaff4c787f484974fc01070842357548d7be395ce (patch)
tree2d69a1661760a770ea58b3d7a4e0e485a3eaf484 /tag.c
parentfe3dfbbe90f813294bb69e41f996a000f63c1560 (diff)
downloaddwm-aff4c787f484974fc01070842357548d7be395ce.tar.gz
applied the saner patch (removed the pathetic one)
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 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