made lt visible again in config.def.h
9463d535
1 file(s) · +2 −3
| 224 | 224 | static Cursor cursor[CurLast]; |
|
| 225 | 225 | static Display *dpy; |
|
| 226 | 226 | static DC dc = {0}; |
|
| 227 | + | static Layout *lt = NULL; |
|
| 227 | 228 | static Window root, barwin; |
|
| 228 | - | ||
| 229 | 229 | /* configuration, allows nested code to access above variables */ |
|
| 230 | 230 | #include "config.h" |
|
| 231 | - | ||
| 232 | - | static Layout *lt = layouts; |
|
| 233 | 231 | ||
| 234 | 232 | /* compile-time check if all tags fit into an uint bit array. */ |
|
| 235 | 233 | struct NumTags { char limitexceeded[sizeof(uint) * 8 < LENGTH(tags) ? -1 : 1]; }; |
|
| 1325 | 1323 | sw = DisplayWidth(dpy, screen); |
|
| 1326 | 1324 | sh = DisplayHeight(dpy, screen); |
|
| 1327 | 1325 | bh = dc.font.height + 2; |
|
| 1326 | + | lt = layouts; |
|
| 1328 | 1327 | updategeom(); |
|
| 1329 | 1328 | ||
| 1330 | 1329 | /* init atoms */ |
|