X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=tag.c;h=f9aef0b17f740b9a6d88546d3b8d89d9ecc89030;hb=e256afe31ef6a70eceb632ddfe717bfe6d8d9169;hp=bc731c9ab891f9103c37f77585606c40d6c7c9bd;hpb=64cfebc5e7d005dfff93a2468df860522fad085a;p=dwm.git 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) { Bool matched = trans != NULL; XClassHint ch = { 0 }; - if(matched) { + if(matched) for(i = 0; i < ntags; i++) c->tags[i] = trans->tags[i]; - } else { XGetClassHint(dpy, c->win, &ch); snprintf(prop, sizeof prop, "%s:%s:%s",