aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-10-05 18:18:47 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-10-05 18:18:47 +0200
commit0384faeee5308d992e60084dd6565c78e6e11af4 (patch)
treeb5eddead562013d72ac45870d0702f364c2cf2d9
parent6cca3999c851770658d9223122f3789af1e2f8cd (diff)
downloaddwm-0384faeee5308d992e60084dd6565c78e6e11af4.tar.gz
changing MASTER value from percent into per mill
-rw-r--r--config.arg.h6
-rw-r--r--config.default.h6
-rw-r--r--config.mk2
-rw-r--r--view.c4
4 files changed, 9 insertions, 9 deletions
diff --git a/config.arg.h b/config.arg.h
index e32753d..a7d0a81 100644
--- a/config.arg.h
+++ b/config.arg.h
@@ -20,7 +20,7 @@ const char *tags[] = { "dev", "work", "net", "fnord", NULL };
#define STATUSBGCOLOR "#222222"
#define STATUSFGCOLOR "#9999cc"
-#define MASTER 60 /* percent */
+#define MASTER 600 /* per mill */
#define MODKEY Mod1Mask
#define KEYS \
@@ -37,8 +37,8 @@ static Key key[] = { \
{ 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 } }, \
diff --git a/config.default.h b/config.default.h
index e97fea8..84713c1 100644
--- a/config.default.h
+++ b/config.default.h
@@ -20,7 +20,7 @@ const char *tags[] = { "1", "2", "3", "4", "5", NULL };
#define STATUSBGCOLOR "#dddddd"
#define STATUSFGCOLOR "#222222"
-#define MASTER 60 /* percent */
+#define MASTER 600 /* per mill */
#define MODKEY Mod1Mask
#define KEYS \
@@ -31,8 +31,8 @@ static Key key[] = { \
{ 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 } }, \
diff --git a/config.mk b/config.mk
index e0a1668..4f04772 100644
--- a/config.mk
+++ b/config.mk
@@ -1,5 +1,5 @@
# dwm version
-VERSION = 1.8
+VERSION = 1.9
# Customize below to fit your system
diff --git a/view.c b/view.c
index 6ca82d1..1ca1027 100644
--- a/view.c
+++ b/view.c
@@ -110,12 +110,12 @@ dotile(Arg *arg) {
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;
}
remember that computers suck.