commit 7b1ed1981c02f71d553614b4186f2607727a3bbe
parent 3ca478a6e0953e5f73d69debfc1202f7da154008
Author: Kris Maglione <kris@suckless.org>
Date: Mon, 19 Jul 2010 09:29:12 -0400
Fix multiscreen focus coloring.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/wmii/frame.c b/cmd/wmii/frame.c
@@ -426,7 +426,7 @@ frame_draw(Frame *f) {
fr = rectsetorigin(c->framewin->r, ZP);
/* Pick colors. */
- if(c == selclient() || c == disp.focus)
+ if((c == selclient() || c == disp.focus) && disp.sel)
col = &def.focuscolor;
else
col = &def.normcolor;