summaryrefslogtreecommitdiffstats
path: root/tag.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tag.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tag.c b/tag.c
index bc731c9..f9aef0b 100644
--- a/tag.c
+++ b/tag.c
@@ -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",