summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-10-05 12:59:35 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-10-05 12:59:35 +0200
commit6fc8a6304163fb63551e54acc62e6e9b7e96c820 (patch)
treec8d9ce9bb0eccefbb638f1a36d5fa40c541cbe92 /main.c
parentyet another simplification of dotile() (diff)
downloaddwm-6fc8a6304163fb63551e54acc62e6e9b7e96c820.tar.gz
dwm-6fc8a6304163fb63551e54acc62e6e9b7e96c820.zip
keep master ratio on resizecol -> arrange
Diffstat (limited to '')
-rw-r--r--main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.c b/main.c
index 6de4f8a..53a7c3c 100644
--- a/main.c
+++ b/main.c
@@ -19,8 +19,8 @@
19 19
20char stext[1024]; 20char stext[1024];
21Bool *seltag; 21Bool *seltag;
22int bx, by, bw, bh, bmw, master, screen, sx, sy, sw, sh; 22int bx, by, bw, bh, bmw, masterd, screen, sx, sy, sw, sh;
23unsigned int ntags, numlockmask; 23unsigned int master, ntags, numlockmask;
24Atom wmatom[WMLast], netatom[NetLast]; 24Atom wmatom[WMLast], netatom[NetLast];
25Bool running = True; 25Bool running = True;
26Bool issel = True; 26Bool issel = True;
@@ -136,7 +136,7 @@ setup(void) {
136 sx = sy = 0; 136 sx = sy = 0;
137 sw = DisplayWidth(dpy, screen); 137 sw = DisplayWidth(dpy, screen);
138 sh = DisplayHeight(dpy, screen); 138 sh = DisplayHeight(dpy, screen);
139 master = ((stackpos == StackBottom ? sh - bh : sw) * MASTER) / 100; 139 master = MASTER;
140 140
141 bx = by = 0; 141 bx = by = 0;
142 bw = sw; 142 bw = sw;