aewl

changeset 355:f9543a4af9e5

small fix to separate client title from right-most tag
author Anselm R. Garbe <arg@10kloc.org>
date Fri, 25 Aug 2006 14:46:01 +0200
parents bb780add36c6
children c2a65784cb71
files draw.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/draw.c	Fri Aug 25 13:02:07 2006 +0200
     1.2 +++ b/draw.c	Fri Aug 25 14:46:01 2006 +0200
     1.3 @@ -94,7 +94,7 @@
     1.4  void
     1.5  drawstatus()
     1.6  {
     1.7 -	static const char *mode[] = { "~", "=" };
     1.8 +	static const char *mode[] = { "~", "|" };
     1.9  	int i, x;
    1.10  
    1.11  	dc.x = dc.y = 0;
    1.12 @@ -114,7 +114,7 @@
    1.13  		else
    1.14  			drawtext(tags[i], dc.norm, sel && sel->tags[i]);
    1.15  	}
    1.16 -	x = dc.x + dc.w;
    1.17 +	x = dc.x + dc.w + 1;
    1.18  	dc.w = textw(stext);
    1.19  	dc.x = bx + bw - dc.w;
    1.20  	if(dc.x < x) {