diff options
| author | Anselm R. Garbe <[email protected]> | 2006-09-29 12:38:27 +0200 |
|---|---|---|
| committer | Anselm R. Garbe <[email protected]> | 2006-09-29 12:38:27 +0200 |
| commit | 14d05e7c725a4a07136ceb123cf760272afc1a87 (patch) | |
| tree | 39328e09b357c05afb8951c5aaccaeb844b2b14d /main.c | |
| parent | renamed column into area (diff) | |
| download | seiwm-14d05e7c725a4a07136ceb123cf760272afc1a87.tar.xz seiwm-14d05e7c725a4a07136ceb123cf760272afc1a87.zip | |
first step to a more flexible dotile() algorithm
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -19,7 +19,7 @@ char stext[1024]; Bool *seltag; -int bx, by, bw, bh, bmw, mw, screen, sx, sy, sw, sh; +int bx, by, bw, bh, bmw, master, screen, sx, sy, sw, sh; unsigned int ntags, numlockmask; Atom wmatom[WMLast], netatom[NetLast]; Bool running = True; @@ -133,7 +133,7 @@ setup(void) { sx = sy = 0; sw = DisplayWidth(dpy, screen); sh = DisplayHeight(dpy, screen); - mw = (sw * MASTERW) / 100; + master = ((stackpos == StackBottom ? sh - bh : sw) * MASTER) / 100; bx = by = 0; bw = sw; |