made for/if/else constructs more consistent, some code polishing
This commit is contained in:
parent
64cfebc5e7
commit
e256afe31e
5 changed files with 18 additions and 21 deletions
3
tag.c
3
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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue