tag.c
changeset 277 1e7fa455e3b4
parent 276 9a0a351dd910
child 284 5f5c56e104de
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 {