Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
added ban() which takes care than a banned window is not banned again... (this reduce...
[dwm.git]
/
tag.c
diff --git
a/tag.c
b/tag.c
index
bc731c9
..
f9aef0b
100644
(file)
--- 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",