# HG changeset patch # User Anselm R Garbe # Date 1213200090 -3600 # Node ID 2902c669f75bcabdd7d0c7dc75a45bf2bf18c405 # Parent f3b595da1c6bd23064718730f82ebbdd2299ec55 made lt visible again in config.def.h diff -r f3b595da1c6b -r 2902c669f75b dwm.c --- a/dwm.c Wed Jun 11 14:10:18 2008 +0100 +++ b/dwm.c Wed Jun 11 17:01:30 2008 +0100 @@ -224,13 +224,11 @@ static Cursor cursor[CurLast]; static Display *dpy; static DC dc = {0}; +static Layout *lt = NULL; static Window root, barwin; - /* configuration, allows nested code to access above variables */ #include "config.h" -static Layout *lt = layouts; - /* compile-time check if all tags fit into an uint bit array. */ struct NumTags { char limitexceeded[sizeof(uint) * 8 < LENGTH(tags) ? -1 : 1]; }; @@ -1325,6 +1323,7 @@ sw = DisplayWidth(dpy, screen); sh = DisplayHeight(dpy, screen); bh = dc.font.height + 2; + lt = layouts; updategeom(); /* init atoms */