Fixed urgent hints
1 files changed, 5 insertions(+), 9 deletions(-)

M statuscolours
M statuscolours +5 -9
@@ 3,7 3,7 @@ 
 
 diff -r 9746f5ded8a7 config.def.h
 --- a/config.def.h	Thu Nov 08 17:25:49 2012 +1300
-+++ b/config.def.h	Thu Nov 08 23:17:35 2012 +1300
++++ b/config.def.h	Fri Nov 09 23:29:31 2012 +1300
 @@ -1,13 +1,20 @@
  /* See LICENSE file for copyright and license details. */
  

          
@@ 15,7 15,7 @@ diff -r 9746f5ded8a7 config.def.h
 -static const char selbordercolor[]  = "#005577";
 -static const char selbgcolor[]      = "#005577";
 -static const char selfgcolor[]      = "#eeeeee";
-+static const char font[]            = "Droid Sans Mono Slashed:size=10.5";
++static const char font[]            = "Dejavu Sans Mono:medium:size=10.5";
 +#define NUMCOLORS 9 
 +static const char colors[NUMCOLORS][ColLast][9] = {
 +// border foreground background

          
@@ 43,7 43,7 @@ diff -r 9746f5ded8a7 config.def.h
  static const char   *mailcmd[] = { "urxvtc", "-title", "mutt", "-e", "mutt", NULL };
 diff -r 9746f5ded8a7 dwm.c
 --- a/dwm.c	Thu Nov 08 17:25:49 2012 +1300
-+++ b/dwm.c	Thu Nov 08 23:17:35 2012 +1300
++++ b/dwm.c	Fri Nov 09 23:29:31 2012 +1300
 @@ -52,6 +52,7 @@
  #define LENGTH(X)               (sizeof X / sizeof X[0])
  #define MAX(A, B)               ((A) > (B) ? (A) : (B))

          
@@ 261,16 261,12 @@ diff -r 9746f5ded8a7 dwm.c
  	if(setfocus) {
  		XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime);
  		XDeleteProperty(dpy, root, netatom[NetActiveWindow]);
-@@ -2040,8 +2079,11 @@
+@@ -2040,7 +2079,7 @@
  			wmh->flags &= ~XUrgencyHint;
  			XSetWMHints(dpy, c->win, wmh);
  		}
 -		else
-+		else {
++		else 
  			c->isurgent = (wmh->flags & XUrgencyHint) ? True : False;
-+			if(c->isurgent)
-+				XSetWindowBorder(dpy, c->win, dc.colors[2][ColBorder].pixel);
-+		}
  		if(wmh->flags & InputHint)
  			c->neverfocus = !wmh->input;
- 		else