Hi,
after using dwm for about a year now I decided I don't like that the title
bar has the 'selected' background-color. I believe the idea was to provide
a visible way to determine the active screen, but since I don't use
multi-head very often and IMHO the presence/absence of the title text is
enough, I patched out the "Is this monitor active"-check and always use the
"normal" color. In case someone agrees, the patch against tip is attached.
Cheers,
Jan
diff -r 4548c824adac dwm.c
--- a/dwm.c Sun Jul 10 21:25:23 2011 +0100
+++ b/dwm.c Mon Jul 11 02:30:13 2011 +0200
@@ -760,7 +760,7 @@
if((dc.w = dc.x - x) > bh) {
dc.x = x;
if(m->sel) {
- col = m == selmon ? dc.sel : dc.norm;
+ col = dc.norm;
drawtext(m->sel->name, col, False);
drawsquare(m->sel->isfixed, m->sel->isfloating, False, col);
}