Mercurial > aewl
changeset 528:c0fffe6c207e
changing MASTER value from percent into per mill
author | Anselm R. Garbe <arg@10kloc.org> |
---|---|
date | Thu, 05 Oct 2006 18:18:47 +0200 |
parents | c07a78138aac |
children | e2bd83191fc6 |
files | config.arg.h config.default.h config.mk view.c |
diffstat | 4 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/config.arg.h Thu Oct 05 19:00:58 2006 +0200 +++ b/config.arg.h Thu Oct 05 18:18:47 2006 +0200 @@ -20,7 +20,7 @@ #define STATUSBGCOLOR "#222222" #define STATUSFGCOLOR "#9999cc" -#define MASTER 60 /* percent */ +#define MASTER 600 /* per mill */ #define MODKEY Mod1Mask #define KEYS \ @@ -37,8 +37,8 @@ { MODKEY, XK_k, focusprev, { 0 } }, \ { MODKEY, XK_Return, zoom, { 0 } }, \ { MODKEY, XK_b, togglestackpos, { 0 } }, \ - { MODKEY, XK_g, resizecol, { .i = 1 } }, \ - { MODKEY, XK_s, resizecol, { .i = -1 } }, \ + { MODKEY, XK_g, resizecol, { .i = 10 } }, \ + { MODKEY, XK_s, resizecol, { .i = -10 } }, \ { MODKEY|ShiftMask, XK_1, tag, { .i = 0 } }, \ { MODKEY|ShiftMask, XK_2, tag, { .i = 1 } }, \ { MODKEY|ShiftMask, XK_3, tag, { .i = 2 } }, \
--- a/config.default.h Thu Oct 05 19:00:58 2006 +0200 +++ b/config.default.h Thu Oct 05 18:18:47 2006 +0200 @@ -20,7 +20,7 @@ #define STATUSBGCOLOR "#dddddd" #define STATUSFGCOLOR "#222222" -#define MASTER 60 /* percent */ +#define MASTER 600 /* per mill */ #define MODKEY Mod1Mask #define KEYS \ @@ -31,8 +31,8 @@ { MODKEY|ShiftMask, XK_Tab, focusprev, { 0 } }, \ { MODKEY, XK_Return, zoom, { 0 } }, \ { MODKEY, XK_b, togglestackpos, { 0 } }, \ - { MODKEY, XK_g, resizecol, { .i = 1 } }, \ - { MODKEY, XK_s, resizecol, { .i = -1 } }, \ + { MODKEY, XK_g, resizecol, { .i = 10 } }, \ + { MODKEY, XK_s, resizecol, { .i = -10 } }, \ { MODKEY|ShiftMask, XK_1, tag, { .i = 0 } }, \ { MODKEY|ShiftMask, XK_2, tag, { .i = 1 } }, \ { MODKEY|ShiftMask, XK_3, tag, { .i = 2 } }, \
--- a/config.mk Thu Oct 05 19:00:58 2006 +0200 +++ b/config.mk Thu Oct 05 18:18:47 2006 +0200 @@ -1,5 +1,5 @@ # dwm version -VERSION = 1.8 +VERSION = 1.9 # Customize below to fit your system
--- a/view.c Thu Oct 05 19:00:58 2006 +0200 +++ b/view.c Thu Oct 05 18:18:47 2006 +0200 @@ -110,12 +110,12 @@ n++; if(stackpos == StackBottom) { - md = ((sh - bh) * master) / 100; + md = ((sh - bh) * master) / 1000; stackw = sw; stackh = sh - bh - md; } else { - md = (sw * master) / 100; + md = (sw * master) / 1000; stackw = sw - md; stackh = sh - bh; }