diff options
Diffstat (limited to '')
| -rw-r--r-- | tag.c | 3 |
1 files changed, 1 insertions, 2 deletions
| @@ -78,10 +78,9 @@ settags(Client *c, Client *trans) { | |||
| 78 | Bool matched = trans != NULL; | 78 | Bool matched = trans != NULL; |
| 79 | XClassHint ch = { 0 }; | 79 | XClassHint ch = { 0 }; |
| 80 | 80 | ||
| 81 | if(matched) { | 81 | if(matched) |
| 82 | for(i = 0; i < ntags; i++) | 82 | for(i = 0; i < ntags; i++) |
| 83 | c->tags[i] = trans->tags[i]; | 83 | c->tags[i] = trans->tags[i]; |
| 84 | } | ||
| 85 | else { | 84 | else { |
| 86 | XGetClassHint(dpy, c->win, &ch); | 85 | XGetClassHint(dpy, c->win, &ch); |
| 87 | snprintf(prop, sizeof prop, "%s:%s:%s", | 86 | snprintf(prop, sizeof prop, "%s:%s:%s", |
