comparison tag.c @ 277:1e7fa455e3b4

applied the saner patch (removed the pathetic one)
author Anselm R.Garbe <arg@10ksloc.org>
date Mon, 14 Aug 2006 15:33:23 +0200
parents 9a0a351dd910
children 5f5c56e104de
comparison
equal deleted inserted replaced
276:9a0a351dd910 277:1e7fa455e3b4
35 /* extern */ 35 /* extern */
36 36
37 void 37 void
38 appendtag(Arg *arg) 38 appendtag(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
51 void 47 void
52 dofloat(Arg *arg) 48 dofloat(Arg *arg)
53 { 49 {