summaryrefslogtreecommitdiffstats
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
parentpplied Sanders appendtag patch (diff)
downloaddwm-aff4c787f484974fc01070842357548d7be395ce.tar.gz
dwm-aff4c787f484974fc01070842357548d7be395ce.zip
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;
37void 37void
38appendtag(Arg *arg) 38appendtag(Arg *arg)
39{ 39{
40 Client *c = sel; 40 if(!sel)
41
42 if(!c)
43 return; 41 return;
44 42
45 c->tags[arg->i] = True; 43 sel->tags[arg->i] = True;
46 arrange(NULL); 44 settitle(sel);
47 focus(c);
48 restack();
49} 45}
50 46
51void 47void