[hackers] [wmii] Fix multiscreen focus coloring. || Kris Maglione

From: <hg_AT_suckless.org>
Date: Mon, 19 Jul 2010 16:50:31 +0000 (UTC)

changeset: 2766:3cbb8301e698
user: Kris Maglione <kris_AT_suckless.org>
date: Mon Jul 19 09:29:12 2010 -0400
files: cmd/wmii/frame.c
description:
Fix multiscreen focus coloring.

diff -r af46181238ec -r 3cbb8301e698 cmd/wmii/frame.c
--- a/cmd/wmii/frame.c Wed Jul 14 20:10:16 2010 -0400
+++ b/cmd/wmii/frame.c Mon Jul 19 09:29:12 2010 -0400
@@ -426,7 +426,7 @@
         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;
Received on Mon Jul 19 2010 - 18:50:31 CEST

This archive was generated by hypermail 2.2.0 : Mon Jul 19 2010 - 19:00:07 CEST