diff options
| author | Anselm R. Garbe <arg@suckless.org> | 2007-02-19 13:17:49 +0100 |
|---|---|---|
| committer | Anselm R. Garbe <arg@suckless.org> | 2007-02-19 13:17:49 +0100 |
| commit | 5d9146ff372ae0c5196e290fb2c1f828d4137e20 (patch) | |
| tree | 00a169f03b35cf5a62c2e6d765a13c6b12fc74b2 /main.c | |
| parent | introduced tile.c, some refactoring of functions (diff) | |
| download | dwm-5d9146ff372ae0c5196e290fb2c1f828d4137e20.tar.gz dwm-5d9146ff372ae0c5196e290fb2c1f828d4137e20.zip | |
some more refactoring
Diffstat (limited to '')
| -rw-r--r-- | main.c | 4 |
1 files changed, 1 insertions, 3 deletions
| @@ -19,7 +19,7 @@ | |||
| 19 | 19 | ||
| 20 | char stext[256]; | 20 | char stext[256]; |
| 21 | int bh, bmw, screen, sx, sy, sw, sh, wax, way, waw, wah; | 21 | int bh, bmw, screen, sx, sy, sw, sh, wax, way, waw, wah; |
| 22 | unsigned int master, nmaster, ntags, numlockmask; | 22 | unsigned int ntags, numlockmask; |
| 23 | Atom wmatom[WMLast], netatom[NetLast]; | 23 | Atom wmatom[WMLast], netatom[NetLast]; |
| 24 | Bool running = True; | 24 | Bool running = True; |
| 25 | Bool *seltag; | 25 | Bool *seltag; |
| @@ -133,8 +133,6 @@ setup(void) { | |||
| 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 = MASTER; | ||
| 137 | nmaster = NMASTER; | ||
| 138 | bmw = textw(TILESYMBOL) > textw(FLOATSYMBOL) ? textw(TILESYMBOL) : textw(FLOATSYMBOL); | 136 | bmw = textw(TILESYMBOL) > textw(FLOATSYMBOL) ? textw(TILESYMBOL) : textw(FLOATSYMBOL); |
| 139 | /* bar */ | 137 | /* bar */ |
| 140 | dc.h = bh = dc.font.height + 2; | 138 | dc.h = bh = dc.font.height + 2; |
