summaryrefslogtreecommitdiffstats
path: root/tag.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-22 22:10:16 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-22 22:10:16 +0100
commit338c0838580b32f1258a800392d93cf973baf1e6 (patch)
tree30387958f30336d7617f63a085128cbe40651d2f /tag.c
parenthahaha, untiled and non-untiled sounded really cumbersome (diff)
downloaddwm-338c0838580b32f1258a800392d93cf973baf1e6.tar.gz
dwm-338c0838580b32f1258a800392d93cf973baf1e6.zip
renamed untiled into floating, keeping tiled instead of tiling (afaik tiled sounds more correct) - English speakers convinced me
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;