dwm-meillo

diff client.c @ 30:2e0fb4130bfb

new stuff, fixed several issues
author Anselm R. Garbe <garbeam@wmii.de>
date Wed, 12 Jul 2006 17:50:31 +0200
parents 8ad86d0a6a53
children 386649deb651
line diff
     1.1 --- a/client.c	Wed Jul 12 17:17:15 2006 +0200
     1.2 +++ b/client.c	Wed Jul 12 17:50:31 2006 +0200
     1.3 @@ -44,8 +44,8 @@
     1.4  	else
     1.5  		cols = rows;
     1.6  
     1.7 -	gw = (sw - 2 * c->border)  / cols;
     1.8 -	gh = (sh - bh - 2 * c->border) / rows;
     1.9 +	gw = (sw - 2)  / cols;
    1.10 +	gh = (sh - bh - 2) / rows;
    1.11  
    1.12  	for(i = j = 0, c = clients; c; c = c->next) {
    1.13  		c->x = i * gw;