dwm-meillo

diff client.c @ 543:722cffee3770

apply small fix to prevent apps like mplayer wandering when toggling fullscreen
author arg@mig29
date Thu, 26 Oct 2006 15:05:45 +0200
parents a5567a0d3011
children 88ebcfe64c2d
line diff
     1.1 --- a/client.c	Thu Oct 26 12:22:26 2006 +0200
     1.2 +++ b/client.c	Thu Oct 26 15:05:45 2006 +0200
     1.3 @@ -202,8 +202,8 @@
     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;
     1.8 -	c->y = c->ty = wa->y;
     1.9 +	c->x = c->tx = wa->x; c->x -= BORDERPX;
    1.10 +	c->y = c->ty = wa->y; c->y -= BORDERPX;
    1.11  	c->w = c->tw = wa->width;
    1.12  	c->h = wa->height;
    1.13  	c->th = bh;