Mercurial > aewl
comparison main.c @ 688:39fa5308d73f
removed mode label stuff
author | Anselm R. Garbe <arg@suckless.org> |
---|---|
date | Sun, 14 Jan 2007 22:32:26 +0100 |
parents | 5f0134b88b8d |
children | cbec08a54a15 |
comparison
equal
deleted
inserted
replaced
687:a76799907854 | 688:39fa5308d73f |
---|---|
15 #include <X11/Xatom.h> | 15 #include <X11/Xatom.h> |
16 #include <X11/Xproto.h> | 16 #include <X11/Xproto.h> |
17 | 17 |
18 /* extern */ | 18 /* extern */ |
19 | 19 |
20 char stext[1024], mtext[32]; | 20 char stext[256]; |
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, nmaster, 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; |
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 nmaster = NMASTER; |
137 updatemodetext(); | 137 bmw = textw(TILESYMBOL) > textw(FLOATSYMBOL) ? textw(TILESYMBOL) : textw(FLOATSYMBOL); |
138 /* bar */ | 138 /* bar */ |
139 bx = sx; | 139 bx = sx; |
140 by = sy; | 140 by = sy; |
141 bw = sw; | 141 bw = sw; |
142 dc.h = bh = dc.font.height + 2; | 142 dc.h = bh = dc.font.height + 2; |