Mercurial > aewl
comparison main.c @ 650:f3b8c71a69d4
experimental version which allows master clients being increased/decreased
author | Anselm R. Garbe <arg@suckless.org> |
---|---|
date | Fri, 05 Jan 2007 12:50:39 +0100 |
parents | 8e6d75c68b69 |
children | 5d79c351e30a |
comparison
equal
deleted
inserted
replaced
649:d6023e0f3cf9 | 650:f3b8c71a69d4 |
---|---|
18 /* extern */ | 18 /* extern */ |
19 | 19 |
20 char stext[1024]; | 20 char stext[1024]; |
21 Bool *seltag; | 21 Bool *seltag; |
22 int bx, by, bw, bh, bmw, masterd, screen, sx, sy, sw, sh, wax, way, waw, wah; | 22 int bx, by, bw, bh, bmw, masterd, screen, sx, sy, sw, sh, wax, way, waw, wah; |
23 unsigned int master, ntags, numlockmask; | 23 unsigned int master, nmaster, ntags, numlockmask; |
24 Atom wmatom[WMLast], netatom[NetLast]; | 24 Atom wmatom[WMLast], netatom[NetLast]; |
25 Bool running = True; | 25 Bool running = True; |
26 Bool issel = True; | 26 Bool issel = True; |
27 Client *clients = NULL; | 27 Client *clients = NULL; |
28 Client *sel = NULL; | 28 Client *sel = NULL; |
131 bmw = textw(TILESYMBOL) > textw(FLOATSYMBOL) ? textw(TILESYMBOL) : textw(FLOATSYMBOL); | 131 bmw = textw(TILESYMBOL) > textw(FLOATSYMBOL) ? textw(TILESYMBOL) : textw(FLOATSYMBOL); |
132 sx = sy = 0; | 132 sx = sy = 0; |
133 sw = DisplayWidth(dpy, screen); | 133 sw = DisplayWidth(dpy, screen); |
134 sh = DisplayHeight(dpy, screen); | 134 sh = DisplayHeight(dpy, screen); |
135 master = MASTER; | 135 master = MASTER; |
136 nmaster = NMASTER; | |
136 /* bar */ | 137 /* bar */ |
137 bx = sx; | 138 bx = sx; |
138 by = sy; | 139 by = sy; |
139 bw = sw; | 140 bw = sw; |
140 dc.h = bh = dc.font.height + 2; | 141 dc.h = bh = dc.font.height + 2; |