aewl

changeset 599:a21891491770

final indicators
author arg@mig29
date Fri, 01 Dec 2006 12:25:23 +0100
parents 38bbcf31accc
children ad94ffdfd9ba
files draw.c dwm.1
diffstat 2 files changed, 3 insertions(+), 4 deletions(-) [+]
line diff
     1.1 --- a/draw.c	Fri Dec 01 10:16:10 2006 +0100
     1.2 +++ b/draw.c	Fri Dec 01 12:25:23 2006 +0100
     1.3 @@ -75,9 +75,9 @@
     1.4  		XDrawString(dpy, dc.drawable, dc.gc, x, y, buf, len);
     1.5  	}
     1.6  	if(dot) {
     1.7 +		r.x = dc.x + 2;
     1.8 +		r.y = dc.y + 2;
     1.9  		r.width = r.height = (h + 2) / 4;
    1.10 -		r.x = dc.x + dc.w - r.width - 2;
    1.11 -		r.y = dc.y + dc.h - r.height - 2;
    1.12  		XFillRectangles(dpy, dc.drawable, dc.gc, &r, 1);
    1.13  	}
    1.14  	if(border) {
     2.1 --- a/dwm.1	Fri Dec 01 10:16:10 2006 +0100
     2.2 +++ b/dwm.1	Fri Dec 01 12:25:23 2006 +0100
     2.3 @@ -22,8 +22,7 @@
     2.4  the title of the focused window, and the text read from standard input. The
     2.5  selected tags are indicated with a different color. The tags of the focused
     2.6  window are indicated with a small point in the top left corner.  The tags which
     2.7 -are applied to one or more clients are indicated with a small point in the bottom
     2.8 -right corner.
     2.9 +are applied to one or more clients are indicated with a pseudo-3d border.
    2.10  .P
    2.11  dwm draws a 1-pixel border around windows to indicate the focus state.
    2.12  Unfocused windows contain a small bar in front of them displaying their title.