tag.c
changeset 276 9a0a351dd910
parent 272 be40a56df248
child 277 1e7fa455e3b4
equal deleted inserted replaced
275:425cd4490c1e 276:9a0a351dd910
    35 /* extern */
    35 /* extern */
    36 
    36 
    37 void
    37 void
    38 appendtag(Arg *arg)
    38 appendtag(Arg *arg)
    39 {
    39 {
    40 	if(!sel)
    40 	Client *c = sel;
       
    41 
       
    42 	if(!c)
    41 		return;
    43 		return;
    42 
    44 
    43 	sel->tags[arg->i] = True;
    45 	c->tags[arg->i] = True;
    44 	arrange(NULL);
    46 	arrange(NULL);
       
    47 	focus(c);
       
    48 	restack();
    45 }
    49 }
    46 
    50 
    47 void
    51 void
    48 dofloat(Arg *arg)
    52 dofloat(Arg *arg)
    49 {
    53 {