From c982bb1389c37262cbcc6ffcc343ec78528c4a81 Mon Sep 17 00:00:00 2001 From: "anselm@anselm1" Date: Wed, 2 Apr 2008 22:10:55 +0100 Subject: applied Peter Hartlich's simplification patch of setmfact and his revival of MFACT, appliead Janness Hofmann's simplification of grabbuttons() -- thanks guys! --- config.def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index ddecedd8..541e4051 100644 --- a/config.def.h +++ b/config.def.h @@ -20,7 +20,7 @@ Rule rules[] = { /* geometries, s{x,y,w,h} and bh are already initualized here */ /* func name bx by bw wx wy ww wh mx my mw mh tx ty tw th mox moy mow moh */ -double mfact = 0.55; +#define MFACT 0.55 /* master width factor [0.1 .. 0.9] */ DEFGEOM(single, 0, 0, sw, 0, bh, sw, sh-bh, wx, wy, mfact*sw, wh, mx+mw, wy, ww-mw, wh, wx, wy, ww, wh) DEFGEOM(dual, 0, 0,1280, 0, bh, ww, wh-bh, wx, wy, 1280,800-bh, 1280, 0, ww-mw, sh, mx, my, mw, mh) -- cgit v1.2.3