From b848f4bda8861115c04aecd9fd87baf928d931de Mon Sep 17 00:00:00 2001 From: Anselm R Garbe Date: Tue, 6 May 2008 15:52:44 +0100 Subject: applied the proposal by nsz --- dwm.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'dwm.c') diff --git a/dwm.c b/dwm.c index 760ba27d..997a220f 100644 --- a/dwm.c +++ b/dwm.c @@ -112,7 +112,7 @@ typedef struct { const char *symbol; void (*arrange)(void); Bool isfloating; -} Layout; +} Layout; typedef struct { const char *class; @@ -241,13 +241,15 @@ Client *stack = NULL; Cursor cursor[CurLast]; Display *dpy; DC dc = {0}; +Geom geoms[]; +Geom *geom = geoms; +Layout layouts[]; +Layout *lt = layouts; Window root, barwin; /* configuration, allows nested code to access above variables */ #include "config.h" #define TAGSZ (LENGTH(tags) * sizeof(Bool)) -Layout *lt = layouts; -Geom *geom = geoms; /* function implementations */ -- cgit v1.2.3