diff options
author | Anselm R. Garbe <arg@suckless.org> | 2007-02-14 09:09:18 +0100 |
---|---|---|
committer | Anselm R. Garbe <arg@suckless.org> | 2007-02-14 09:09:18 +0100 |
commit | e256afe31ef6a70eceb632ddfe717bfe6d8d9169 (patch) | |
tree | c42d38a69d3787c83176169d73be22e859da0f52 /tag.c | |
parent | 64cfebc5e7d005dfff93a2468df860522fad085a (diff) | |
download | dwm-e256afe31ef6a70eceb632ddfe717bfe6d8d9169.tar dwm-e256afe31ef6a70eceb632ddfe717bfe6d8d9169.tar.gz dwm-e256afe31ef6a70eceb632ddfe717bfe6d8d9169.tar.bz2 |
made for/if/else constructs more consistent, some code polishing
Diffstat (limited to 'tag.c')
-rw-r--r-- | tag.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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", |