aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authoranselm@anselm1 <unknown>2008-04-02 22:10:55 +0100
committeranselm@anselm1 <unknown>2008-04-02 22:10:55 +0100
commitc982bb1389c37262cbcc6ffcc343ec78528c4a81 (patch)
tree7922ac74b7b371d901824c76f7193fc6065e50b6 /config.def.h
parent6cf73e706ac8748e2e1734faad532ca3918e56c2 (diff)
downloaddwm-c982bb1389c37262cbcc6ffcc343ec78528c4a81.tar.gz
dwm-c982bb1389c37262cbcc6ffcc343ec78528c4a81.tar.bz2
dwm-c982bb1389c37262cbcc6ffcc343ec78528c4a81.zip
applied Peter Hartlich's simplification patch of setmfact and his revival of MFACT, appliead Janness Hofmann's simplification of grabbuttons() -- thanks guys!
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index ddecedd..541e405 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)