aboutsummaryrefslogtreecommitdiffstats
path: root/tag.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-14 09:09:18 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-14 09:09:18 +0100
commite256afe31ef6a70eceb632ddfe717bfe6d8d9169 (patch)
treec42d38a69d3787c83176169d73be22e859da0f52 /tag.c
parent64cfebc5e7d005dfff93a2468df860522fad085a (diff)
downloaddwm-e256afe31ef6a70eceb632ddfe717bfe6d8d9169.tar.zst
made for/if/else constructs more consistent, some code polishing
Diffstat (limited to 'tag.c')
-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) {
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",