Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
spectrwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3d4c44b
)
Rearrange class & name on bar to match quirk config style.
author
Darrin Chandler
<dwchandler@stilyagin.com>
Sun, 7 Jun 2009 16:40:35 +0000
(16:40 +0000)
committer
Darrin Chandler
<dwchandler@stilyagin.com>
Sun, 7 Jun 2009 16:40:35 +0000
(16:40 +0000)
scrotwm.c
patch
|
blob
|
history
diff --git
a/scrotwm.c
b/scrotwm.c
index
210a1ff
..
6c47e65
100644
(file)
--- a/
scrotwm.c
+++ b/
scrotwm.c
@@
-800,12
+800,12
@@
bar_update(void)
status = XGetClassHint(display, cur_focus->id, xch);
if (status == BadWindow || status == BadAlloc)
goto out;
status = XGetClassHint(display, cur_focus->id, xch);
if (status == BadWindow || status == BadAlloc)
goto out;
- if (title_name_enabled)
- strlcat(s, xch->res_name, sizeof s);
- if (title_name_enabled && title_class_enabled)
- strlcat(s, " ", sizeof s);
if (title_class_enabled)
strlcat(s, xch->res_class, sizeof s);
if (title_class_enabled)
strlcat(s, xch->res_class, sizeof s);
+ if (title_name_enabled && title_class_enabled)
+ strlcat(s, ":", sizeof s);
+ if (title_name_enabled)
+ strlcat(s, xch->res_name, sizeof s);
}
out:
if (xch)
}
out:
if (xch)