diff main.c @ 508:ede48935f2b3

added the new dotile as described on ml
author Anselm R. Garbe <arg@10kloc.org>
date Fri, 29 Sep 2006 16:22:20 +0200
parents 2c29d74b11dc
children d6d1d0033e3c
line wrap: on
line diff
--- a/main.c	Fri Sep 29 14:39:03 2006 +0200
+++ b/main.c	Fri Sep 29 16:22:20 2006 +0200
@@ -133,7 +133,7 @@
 	sx = sy = 0;
 	sw = DisplayWidth(dpy, screen);
 	sh = DisplayHeight(dpy, screen);
-	master = ((stackpos == StackBottom ? sh - bh : sw) * MASTER) / 100;
+	updatemaster();
 
 	bx = by = 0;
 	bw = sw;