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 wrap: on
line diff
--- a/client.c	Wed Jul 12 17:17:15 2006 +0200
+++ b/client.c	Wed Jul 12 17:50:31 2006 +0200
@@ -44,8 +44,8 @@
 	else
 		cols = rows;
 
-	gw = (sw - 2 * c->border)  / cols;
-	gh = (sh - bh - 2 * c->border) / rows;
+	gw = (sw - 2)  / cols;
+	gh = (sh - bh - 2) / rows;
 
 	for(i = j = 0, c = clients; c; c = c->next) {
 		c->x = i * gw;