diff options
Diffstat (limited to '')
| -rw-r--r-- | tag.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -12,7 +12,7 @@ | |||
| 12 | typedef struct { | 12 | typedef 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 | ||
| 18 | typedef struct { | 18 | typedef 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; |
