diff client.c @ 13:c65d4f8dc8fd

use inverse border color
author paulo
date Sat, 12 Mar 2016 23:30:00 -0800
parents 0968b3739b8d
children
line diff
     1.1 --- a/client.c	Wed Sep 19 00:10:25 2012 -0700
     1.2 +++ b/client.c	Sat Mar 12 23:30:00 2016 -0800
     1.3 @@ -164,7 +164,7 @@
     1.4  	if(!selscreen)
     1.5  		return;
     1.6  	if(c) {
     1.7 -		XSetWindowBorder(dpy, c->win, dc.sel[ColBorder]);
     1.8 +		XSetWindowBorder(dpy, c->win, (getkeymode() == COMMANDMODE) ? dc.inv[ColBorder] :  dc.sel[ColBorder]);
     1.9  		XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime);
    1.10  	}
    1.11  	else