summaryrefslogtreecommitdiffstats
path: root/tag.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-22 17:43:41 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-22 17:43:41 +0100
commit587100873a66e34251041678504a8c1e28410591 (patch)
tree2ea60a457951a9f21be2deaf0b29244d4cc7c5a9 /tag.c
parentmerged focus{prev.next} into focusclient(1/-1) (diff)
downloaddwm-587100873a66e34251041678504a8c1e28410591.tar.gz
dwm-587100873a66e34251041678504a8c1e28410591.zip
renamed versatile into untiled
Diffstat (limited to '')
-rw-r--r--tag.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tag.c b/tag.c
index 8f41d82..b8539ac 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 isversatile; 15 Bool isuntiled;
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->isversatile = rule[i].isversatile; 86 c->isuntiled = rule[i].isuntiled;
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;