X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=tag.c;h=b7c06dea039a929f989b06acbf8ada704608e39b;hb=9927b9e64253643f409bd1ef22349cf4e9ca7727;hp=ddffafa16e5a31d827a7e999a7692cc9edbe4c71;hpb=157ea539a2d1926ee3a9d2fe713eba0b9428f685;p=dwm.git 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(); }