diff draw.c @ 11:da0e0496f75b

add "inverse" color set, for indicating in the status bar when in command mode
author paulo
date Tue, 18 Sep 2012 00:17:32 -0700
parents bc03b37b37ba
children
line diff
     1.1 --- a/draw.c	Tue Jul 05 01:11:23 2011 -0700
     1.2 +++ b/draw.c	Tue Sep 18 00:17:32 2012 -0700
     1.3 @@ -90,7 +90,7 @@
     1.4  
     1.5  	if((dc.w = dc.x - x) > bh) {
     1.6  		dc.x = x;
     1.7 -		drawtext(sel ? sel->name : NULL, sel ? dc.sel : dc.norm);
     1.8 +		drawtext(sel ? sel->name : NULL, (getkeymode() == COMMANDMODE) ? dc.inv : (sel ? dc.sel : dc.norm));
     1.9  	}
    1.10  	XCopyArea(dpy, dc.drawable, barwin, dc.gc, 0, 0, sw, bh, 0, 0);
    1.11