diff options
author | Anselm R. Garbe <arg@10kloc.org> | 2006-10-05 12:59:35 +0200 |
---|---|---|
committer | Anselm R. Garbe <arg@10kloc.org> | 2006-10-05 12:59:35 +0200 |
commit | 6fc8a6304163fb63551e54acc62e6e9b7e96c820 (patch) | |
tree | c8d9ce9bb0eccefbb638f1a36d5fa40c541cbe92 /main.c | |
parent | 2583a7c0d18749c391a7149f2f1ffb3efd91ba8d (diff) | |
download | dwm-6fc8a6304163fb63551e54acc62e6e9b7e96c820.tar.gz |
keep master ratio on resizecol -> arrange
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -19,8 +19,8 @@ char stext[1024]; Bool *seltag; -int bx, by, bw, bh, bmw, master, screen, sx, sy, sw, sh; -unsigned int ntags, numlockmask; +int bx, by, bw, bh, bmw, masterd, screen, sx, sy, sw, sh; +unsigned int master, ntags, numlockmask; Atom wmatom[WMLast], netatom[NetLast]; Bool running = True; Bool issel = True; @@ -136,7 +136,7 @@ setup(void) { sx = sy = 0; sw = DisplayWidth(dpy, screen); sh = DisplayHeight(dpy, screen); - master = ((stackpos == StackBottom ? sh - bh : sw) * MASTER) / 100; + master = MASTER; bx = by = 0; bw = sw; |