summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-06-11 17:01:30 +0100
committerAnselm R Garbe <garbeam@gmail.com>2008-06-11 17:01:30 +0100
commit9463d5354bc57d0c0086b7328196d7af60ed706d (patch)
tree04cf783a00e6d8b2806c4461fcbc8794e507c008
parentadded nsz' patch (diff)
downloaddwm-9463d5354bc57d0c0086b7328196d7af60ed706d.tar.gz
dwm-9463d5354bc57d0c0086b7328196d7af60ed706d.zip
made lt visible again in config.def.h
-rw-r--r--dwm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/dwm.c b/dwm.c
index 04ae223..ec37588 100644
--- a/dwm.c
+++ b/dwm.c
@@ -224,13 +224,11 @@ static Client *stack = NULL;
224static Cursor cursor[CurLast]; 224static Cursor cursor[CurLast];
225static Display *dpy; 225static Display *dpy;
226static DC dc = {0}; 226static DC dc = {0};
227static Layout *lt = NULL;
227static Window root, barwin; 228static Window root, barwin;
228
229/* configuration, allows nested code to access above variables */ 229/* configuration, allows nested code to access above variables */
230#include "config.h" 230#include "config.h"
231 231
232static Layout *lt = layouts;
233
234/* compile-time check if all tags fit into an uint bit array. */ 232/* compile-time check if all tags fit into an uint bit array. */
235struct NumTags { char limitexceeded[sizeof(uint) * 8 < LENGTH(tags) ? -1 : 1]; }; 233struct NumTags { char limitexceeded[sizeof(uint) * 8 < LENGTH(tags) ? -1 : 1]; };
236 234
@@ -1325,6 +1323,7 @@ setup(void) {
1325 sw = DisplayWidth(dpy, screen); 1323 sw = DisplayWidth(dpy, screen);
1326 sh = DisplayHeight(dpy, screen); 1324 sh = DisplayHeight(dpy, screen);
1327 bh = dc.font.height + 2; 1325 bh = dc.font.height + 2;
1326 lt = layouts;
1328 updategeom(); 1327 updategeom();
1329 1328
1330 /* init atoms */ 1329 /* init atoms */