changeset 16:cb5813c117e2 tip

merge heads
author paulo
date Mon, 09 Apr 2018 20:13:53 -0600
parents 85763b447d0f 09e9101ee51e
children
files
diffstat 3 files changed, 6 insertions(+), 3 deletions(-) [+]
line diff
     1.1 --- a/client.c	Mon Apr 09 20:08:44 2018 -0600
     1.2 +++ b/client.c	Mon Apr 09 20:13:53 2018 -0600
     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
     2.1 --- a/config.h	Mon Apr 09 20:08:44 2018 -0600
     2.2 +++ b/config.h	Mon Apr 09 20:13:53 2018 -0600
     2.3 @@ -11,7 +11,7 @@
     2.4  #define SELBORDERCOLOR		"#ff0000"
     2.5  #define SELBGCOLOR		"#222222"
     2.6  #define SELFGCOLOR		"#00ff00"
     2.7 -#define INVBORDERCOLOR		"#aaaaaa"
     2.8 +#define INVBORDERCOLOR		"#00ffff"
     2.9  #define INVBGCOLOR		"#000099"
    2.10  #define INVFGCOLOR		"#eeee00"
    2.11  #define TOPBAR			True		/* False */
     3.1 --- a/event.c	Mon Apr 09 20:08:44 2018 -0600
     3.2 +++ b/event.c	Mon Apr 09 20:13:53 2018 -0600
     3.3 @@ -512,7 +512,10 @@
     3.4  	keymode = arg->i;
     3.5  	clearcmd(&a);
     3.6  	grabkeys();
     3.7 -	drawstatus();
     3.8 +	if(sel)
     3.9 +		focus(sel);
    3.10 +	else
    3.11 +		drawstatus();
    3.12  }
    3.13  
    3.14  unsigned int