From a678ee636547c8a7a2651250960277629c33c4c3 Mon Sep 17 00:00:00 2001 From: "arg@mig29" Date: Fri, 1 Dec 2006 12:25:23 +0100 Subject: final indicators --- draw.c | 4 ++-- dwm.1 | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/draw.c b/draw.c index 151207a4..bec01578 100644 --- a/draw.c +++ b/draw.c @@ -75,9 +75,9 @@ drawtext(const char *text, unsigned long col[ColLast], Bool dot, Bool border) { XDrawString(dpy, dc.drawable, dc.gc, x, y, buf, len); } if(dot) { + r.x = dc.x + 2; + r.y = dc.y + 2; r.width = r.height = (h + 2) / 4; - r.x = dc.x + dc.w - r.width - 2; - r.y = dc.y + dc.h - r.height - 2; XFillRectangles(dpy, dc.drawable, dc.gc, &r, 1); } if(border) { diff --git a/dwm.1 b/dwm.1 index 19e881f9..fda4072e 100644 --- a/dwm.1 +++ b/dwm.1 @@ -22,8 +22,7 @@ dwm contains a small status bar which displays all available tags, the mode, the title of the focused window, and the text read from standard input. The selected tags are indicated with a different color. The tags of the focused window are indicated with a small point in the top left corner. The tags which -are applied to one or more clients are indicated with a small point in the bottom -right corner. +are applied to one or more clients are indicated with a pseudo-3d border. .P dwm draws a 1-pixel border around windows to indicate the focus state. Unfocused windows contain a small bar in front of them displaying their title. -- cgit v1.2.3