applied the proposal by nsz b848f4bd
Anselm R Garbe · 2008-05-06 15:52 1 file(s) · +5 −3
dwm.c +5 −3
112 112
	const char *symbol;
113 113
	void (*arrange)(void);
114 114
	Bool isfloating;
115 -
} Layout; 
115 +
} Layout;
116 116
117 117
typedef struct {
118 118
	const char *class;
241 241
Cursor cursor[CurLast];
242 242
Display *dpy;
243 243
DC dc = {0};
244 +
Geom geoms[];
245 +
Geom *geom = geoms;
246 +
Layout layouts[];
247 +
Layout *lt = layouts;
244 248
Window root, barwin;
245 249
246 250
/* configuration, allows nested code to access above variables */
247 251
#include "config.h"
248 252
#define TAGSZ (LENGTH(tags) * sizeof(Bool))
249 -
Layout *lt = layouts;
250 -
Geom *geom = geoms;
251 253
252 254
/* function implementations */
253 255