X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/157ea539a2d1926ee3a9d2fe713eba0b9428f685..9927b9e64253643f409bd1ef22349cf4e9ca7727:/tag.c diff --git a/tag.c b/tag.c index ddffafa..b7c06de 100644 --- a/tag.c +++ b/tag.c @@ -31,7 +31,7 @@ static RReg *rreg = NULL; static unsigned int len = 0; static void -applytag() +commit() { /* asserts sel != NULL */ settitle(sel); @@ -132,7 +132,7 @@ tag(Arg *arg) for(i = 0; i < ntags; i++) sel->tags[i] = False; sel->tags[arg->i] = True; - applytag(); + commit(); } void @@ -147,5 +147,5 @@ toggletag(Arg *arg) for(i = 0; i < ntags && !sel->tags[i]; i++); if(i == ntags) sel->tags[arg->i] = True; - applytag(); + commit(); }