comparison main.c @ 675:1438e35b622e

reorganized
author Anselm R. Garbe <arg@suckless.org>
date Mon, 08 Jan 2007 17:36:56 +0100
parents 5d79c351e30a
children 5f0134b88b8d
comparison
equal deleted inserted replaced
674:5d79c351e30a 675:1438e35b622e
131 sx = sy = 0; 131 sx = sy = 0;
132 sw = DisplayWidth(dpy, screen); 132 sw = DisplayWidth(dpy, screen);
133 sh = DisplayHeight(dpy, screen); 133 sh = DisplayHeight(dpy, screen);
134 master = MASTER; 134 master = MASTER;
135 nmaster = NMASTER; 135 nmaster = NMASTER;
136 snprintf(mtext, sizeof mtext, arrange == dofloat ? FLOATSYMBOL : TILESYMBOL, nmaster); 136 updatemodetext();
137 bmw = textw(mtext);
138 /* bar */ 137 /* bar */
139 bx = sx; 138 bx = sx;
140 by = sy; 139 by = sy;
141 bw = sw; 140 bw = sw;
142 dc.h = bh = dc.font.height + 2; 141 dc.h = bh = dc.font.height + 2;