diff options
| author | Anselm R. Garbe <arg@suckless.org> | 2007-02-22 22:10:16 +0100 |
|---|---|---|
| committer | Anselm R. Garbe <arg@suckless.org> | 2007-02-22 22:10:16 +0100 |
| commit | 338c0838580b32f1258a800392d93cf973baf1e6 (patch) | |
| tree | 30387958f30336d7617f63a085128cbe40651d2f /tag.c | |
| parent | hahaha, untiled and non-untiled sounded really cumbersome (diff) | |
| download | dwm-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.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; |
