diff options
| author | arg@mig29 <unknown> | 2006-12-01 12:25:23 +0100 |
|---|---|---|
| committer | arg@mig29 <unknown> | 2006-12-01 12:25:23 +0100 |
| commit | a678ee636547c8a7a2651250960277629c33c4c3 (patch) | |
| tree | 7d574e7e6f63887580ee41e7ffffdf51a6658554 | |
| parent | changed things like I described in last mail (diff) | |
| download | dwm-a678ee636547c8a7a2651250960277629c33c4c3.tar.gz dwm-a678ee636547c8a7a2651250960277629c33c4c3.zip | |
final indicators
Diffstat (limited to '')
| -rw-r--r-- | draw.c | 4 | ||||
| -rw-r--r-- | dwm.1 | 3 |
2 files changed, 3 insertions, 4 deletions
| @@ -75,9 +75,9 @@ drawtext(const char *text, unsigned long col[ColLast], Bool dot, Bool border) { | |||
| 75 | XDrawString(dpy, dc.drawable, dc.gc, x, y, buf, len); | 75 | XDrawString(dpy, dc.drawable, dc.gc, x, y, buf, len); |
| 76 | } | 76 | } |
| 77 | if(dot) { | 77 | if(dot) { |
| 78 | r.x = dc.x + 2; | ||
| 79 | r.y = dc.y + 2; | ||
| 78 | r.width = r.height = (h + 2) / 4; | 80 | r.width = r.height = (h + 2) / 4; |
| 79 | r.x = dc.x + dc.w - r.width - 2; | ||
| 80 | r.y = dc.y + dc.h - r.height - 2; | ||
| 81 | XFillRectangles(dpy, dc.drawable, dc.gc, &r, 1); | 81 | XFillRectangles(dpy, dc.drawable, dc.gc, &r, 1); |
| 82 | } | 82 | } |
| 83 | if(border) { | 83 | if(border) { |
| @@ -22,8 +22,7 @@ dwm contains a small status bar which displays all available tags, the mode, | |||
| 22 | the title of the focused window, and the text read from standard input. The | 22 | the title of the focused window, and the text read from standard input. The |
| 23 | selected tags are indicated with a different color. The tags of the focused | 23 | selected tags are indicated with a different color. The tags of the focused |
| 24 | window are indicated with a small point in the top left corner. The tags which | 24 | window are indicated with a small point in the top left corner. The tags which |
| 25 | are applied to one or more clients are indicated with a small point in the bottom | 25 | are applied to one or more clients are indicated with a pseudo-3d border. |
| 26 | right corner. | ||
| 27 | .P | 26 | .P |
| 28 | dwm draws a 1-pixel border around windows to indicate the focus state. | 27 | dwm draws a 1-pixel border around windows to indicate the focus state. |
| 29 | Unfocused windows contain a small bar in front of them displaying their title. | 28 | Unfocused windows contain a small bar in front of them displaying their title. |
