From 6fc8a6304163fb63551e54acc62e6e9b7e96c820 Mon Sep 17 00:00:00 2001 From: Anselm R. Garbe Date: Thu, 5 Oct 2006 12:59:35 +0200 Subject: keep master ratio on resizecol -> arrange --- main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 6de4f8a..53a7c3c 100644 --- a/main.c +++ b/main.c @@ -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; -- cgit v1.2.3