some other change
authorarg@mig29
Thu, 26 Oct 2006 15:26:17 +0200
changeset 544 88ebcfe64c2d
parent 543 722cffee3770
child 545 18b3666eae17
some other change
client.c
--- a/client.c	Thu Oct 26 15:05:45 2006 +0200
+++ b/client.c	Thu Oct 26 15:26:17 2006 +0200
@@ -202,12 +202,12 @@
 	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;