comparison main.c @ 508:ede48935f2b3

added the new dotile as described on ml
author Anselm R. Garbe <arg@10kloc.org>
date Fri, 29 Sep 2006 16:22:20 +0200
parents 2c29d74b11dc
children d6d1d0033e3c
comparison
equal deleted inserted replaced
507:2824b5d0f0f0 508:ede48935f2b3
131 131
132 bmw = textw(FLOATSYMBOL) > textw(TILESYMBOL) ? textw(FLOATSYMBOL) : textw(TILESYMBOL); 132 bmw = textw(FLOATSYMBOL) > textw(TILESYMBOL) ? textw(FLOATSYMBOL) : textw(TILESYMBOL);
133 sx = sy = 0; 133 sx = sy = 0;
134 sw = DisplayWidth(dpy, screen); 134 sw = DisplayWidth(dpy, screen);
135 sh = DisplayHeight(dpy, screen); 135 sh = DisplayHeight(dpy, screen);
136 master = ((stackpos == StackBottom ? sh - bh : sw) * MASTER) / 100; 136 updatemaster();
137 137
138 bx = by = 0; 138 bx = by = 0;
139 bw = sw; 139 bw = sw;
140 dc.h = bh = dc.font.height + 2; 140 dc.h = bh = dc.font.height + 2;
141 wa.override_redirect = 1; 141 wa.override_redirect = 1;