summaryrefslogtreecommitdiffstats
path: root/tag.c
diff options
context:
space:
mode:
Diffstat (limited to 'tag.c')
-rw-r--r--tag.c6
1 files changed, 3 insertions, 3 deletions
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;
31static unsigned int len = 0; 31static unsigned int len = 0;
32 32
33static void 33static void
34applytag() 34commit()
35{ 35{
36 /* asserts sel != NULL */ 36 /* asserts sel != NULL */
37 settitle(sel); 37 settitle(sel);
@@ -132,7 +132,7 @@ tag(Arg *arg)
132 for(i = 0; i < ntags; i++) 132 for(i = 0; i < ntags; i++)
133 sel->tags[i] = False; 133 sel->tags[i] = False;
134 sel->tags[arg->i] = True; 134 sel->tags[arg->i] = True;
135 applytag(); 135 commit();
136} 136}
137 137
138void 138void
@@ -147,5 +147,5 @@ toggletag(Arg *arg)
147 for(i = 0; i < ntags && !sel->tags[i]; i++); 147 for(i = 0; i < ntags && !sel->tags[i]; i++);
148 if(i == ntags) 148 if(i == ntags)
149 sel->tags[arg->i] = True; 149 sel->tags[arg->i] = True;
150 applytag(); 150 commit();
151} 151}