summaryrefslogtreecommitdiff
path: root/client.c
diff options
context:
space:
mode:
authorarg@mig29 <unknown>2006-10-26 15:26:17 +0200
committerarg@mig29 <unknown>2006-10-26 15:26:17 +0200
commit2b7c275ce8c7f8fa36d0877cf3cdaf32b08f2c0d (patch)
treed5743e2b9b8b35021b561a2acd9fdb6da369f3cd /client.c
parent040d0f48a0b41d67004b4a0698fe21a86ebaa490 (diff)
some other change
Diffstat (limited to 'client.c')
-rw-r--r--client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/client.c b/client.c
index 49d40d5c..ed8fea9a 100644
--- a/client.c
+++ b/client.c
@@ -202,12 +202,12 @@ manage(Window w, XWindowAttributes *wa) {
c = emallocz(sizeof(Client));
c->tags = emallocz(ntags * sizeof(Bool));
c->win = w;
- c->x = c->tx = wa->x; c->x -= BORDERPX;
- c->y = c->ty = wa->y; c->y -= BORDERPX;
+ c->border = wa->border_width;
+ c->x = c->tx = wa->x;
+ c->y = c->ty = wa->y;
c->w = c->tw = wa->width;
c->h = wa->height;
c->th = bh;
- c->border = 0;
updatesize(c);
if(c->x + c->w + 2 * BORDERPX > sw)
c->x = sw - c->w - 2 * BORDERPX;