summaryrefslogtreecommitdiffstats
path: root/tag.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tag.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tag.c b/tag.c
index b8539ac..d121c78 100644
--- a/tag.c
+++ b/tag.c
@@ -12,7 +12,7 @@
12typedef struct { 12typedef struct {
13 const char *prop; 13 const char *prop;
14 const char *tags; 14 const char *tags;
15 Bool isuntiled; 15 Bool isfloating;
16} Rule; 16} Rule;
17 17
18typedef struct { 18typedef struct {
@@ -83,7 +83,7 @@ settags(Client *c, Client *trans) {
83 ch.res_name ? ch.res_name : "", c->name); 83 ch.res_name ? ch.res_name : "", c->name);
84 for(i = 0; i < nrules; i++) 84 for(i = 0; i < nrules; i++)
85 if(regs[i].propregex && !regexec(regs[i].propregex, prop, 1, &tmp, 0)) { 85 if(regs[i].propregex && !regexec(regs[i].propregex, prop, 1, &tmp, 0)) {
86 c->isuntiled = rule[i].isuntiled; 86 c->isfloating = rule[i].isfloating;
87 for(j = 0; regs[i].tagregex && j < ntags; j++) { 87 for(j = 0; regs[i].tagregex && j < ntags; j++) {
88 if(!regexec(regs[i].tagregex, tags[j], 1, &tmp, 0)) { 88 if(!regexec(regs[i].tagregex, tags[j], 1, &tmp, 0)) {
89 matched = True; 89 matched = True;