summaryrefslogtreecommitdiffhomepage
path: root/patch
diff options
context:
space:
mode:
Diffstat (limited to 'patch')
-rw-r--r--patch/bar_tagicons.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/patch/bar_tagicons.c b/patch/bar_tagicons.c
index 235a6e2..fa1b96c 100644
--- a/patch/bar_tagicons.c
+++ b/patch/bar_tagicons.c
@@ -4,7 +4,7 @@ tagicon(Monitor *m, int tag)
#if BAR_ALTTAGSDECORATION_PATCH
Client *c;
#endif // BAR_ALTTAGSDECORATION_PATCH
- int tagindex = tag + NUMTAGS * m->index;
+ int tagindex = tag + NUMTAGS * m->num;
if (tagindex >= LENGTH(tagicons[DEFAULT_TAGS]))
tagindex = tagindex % LENGTH(tagicons[DEFAULT_TAGS]);
#if BAR_ALTTAGSDECORATION_PATCH