dwm-meillo
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 diff
1.1 --- a/config.arg.h Thu Oct 05 19:00:58 2006 +0200 1.2 +++ b/config.arg.h Thu Oct 05 18:18:47 2006 +0200 1.3 @@ -20,7 +20,7 @@ 1.4 #define STATUSBGCOLOR "#222222" 1.5 #define STATUSFGCOLOR "#9999cc" 1.6 1.7 -#define MASTER 60 /* percent */ 1.8 +#define MASTER 600 /* per mill */ 1.9 #define MODKEY Mod1Mask 1.10 1.11 #define KEYS \ 1.12 @@ -37,8 +37,8 @@ 1.13 { MODKEY, XK_k, focusprev, { 0 } }, \ 1.14 { MODKEY, XK_Return, zoom, { 0 } }, \ 1.15 { MODKEY, XK_b, togglestackpos, { 0 } }, \ 1.16 - { MODKEY, XK_g, resizecol, { .i = 1 } }, \ 1.17 - { MODKEY, XK_s, resizecol, { .i = -1 } }, \ 1.18 + { MODKEY, XK_g, resizecol, { .i = 10 } }, \ 1.19 + { MODKEY, XK_s, resizecol, { .i = -10 } }, \ 1.20 { MODKEY|ShiftMask, XK_1, tag, { .i = 0 } }, \ 1.21 { MODKEY|ShiftMask, XK_2, tag, { .i = 1 } }, \ 1.22 { MODKEY|ShiftMask, XK_3, tag, { .i = 2 } }, \
2.1 --- a/config.default.h Thu Oct 05 19:00:58 2006 +0200 2.2 +++ b/config.default.h Thu Oct 05 18:18:47 2006 +0200 2.3 @@ -20,7 +20,7 @@ 2.4 #define STATUSBGCOLOR "#dddddd" 2.5 #define STATUSFGCOLOR "#222222" 2.6 2.7 -#define MASTER 60 /* percent */ 2.8 +#define MASTER 600 /* per mill */ 2.9 #define MODKEY Mod1Mask 2.10 2.11 #define KEYS \ 2.12 @@ -31,8 +31,8 @@ 2.13 { MODKEY|ShiftMask, XK_Tab, focusprev, { 0 } }, \ 2.14 { MODKEY, XK_Return, zoom, { 0 } }, \ 2.15 { MODKEY, XK_b, togglestackpos, { 0 } }, \ 2.16 - { MODKEY, XK_g, resizecol, { .i = 1 } }, \ 2.17 - { MODKEY, XK_s, resizecol, { .i = -1 } }, \ 2.18 + { MODKEY, XK_g, resizecol, { .i = 10 } }, \ 2.19 + { MODKEY, XK_s, resizecol, { .i = -10 } }, \ 2.20 { MODKEY|ShiftMask, XK_1, tag, { .i = 0 } }, \ 2.21 { MODKEY|ShiftMask, XK_2, tag, { .i = 1 } }, \ 2.22 { MODKEY|ShiftMask, XK_3, tag, { .i = 2 } }, \
3.1 --- a/config.mk Thu Oct 05 19:00:58 2006 +0200 3.2 +++ b/config.mk Thu Oct 05 18:18:47 2006 +0200 3.3 @@ -1,5 +1,5 @@ 3.4 # dwm version 3.5 -VERSION = 1.8 3.6 +VERSION = 1.9 3.7 3.8 # Customize below to fit your system 3.9
4.1 --- a/view.c Thu Oct 05 19:00:58 2006 +0200 4.2 +++ b/view.c Thu Oct 05 18:18:47 2006 +0200 4.3 @@ -110,12 +110,12 @@ 4.4 n++; 4.5 4.6 if(stackpos == StackBottom) { 4.7 - md = ((sh - bh) * master) / 100; 4.8 + md = ((sh - bh) * master) / 1000; 4.9 stackw = sw; 4.10 stackh = sh - bh - md; 4.11 } 4.12 else { 4.13 - md = (sw * master) / 100; 4.14 + md = (sw * master) / 1000; 4.15 stackw = sw - md; 4.16 stackh = sh - bh; 4.17 }