aewl

diff client.c @ 544:88ebcfe64c2d

some other change
author arg@mig29
date Thu, 26 Oct 2006 15:26:17 +0200
parents 722cffee3770
children 223b41c35619
line diff
     1.1 --- a/client.c	Thu Oct 26 15:05:45 2006 +0200
     1.2 +++ b/client.c	Thu Oct 26 15:26:17 2006 +0200
     1.3 @@ -202,12 +202,12 @@
     1.4  	c = emallocz(sizeof(Client));
     1.5  	c->tags = emallocz(ntags * sizeof(Bool));
     1.6  	c->win = w;
     1.7 -	c->x = c->tx = wa->x; c->x -= BORDERPX;
     1.8 -	c->y = c->ty = wa->y; c->y -= BORDERPX;
     1.9 +	c->border = wa->border_width;
    1.10 +	c->x = c->tx = wa->x;
    1.11 +	c->y = c->ty = wa->y;
    1.12  	c->w = c->tw = wa->width;
    1.13  	c->h = wa->height;
    1.14  	c->th = bh;
    1.15 -	c->border = 0;
    1.16  	updatesize(c);
    1.17  	if(c->x + c->w + 2 * BORDERPX > sw)
    1.18  		c->x = sw - c->w - 2 * BORDERPX;