applied the proposal by nsz
authorAnselm R Garbe <garbeam@gmail.com>
Tue, 06 May 2008 15:52:44 +0100
changeset 1187 264e671527e6
parent 1186 48ffaf800504
child 1188 1765468a0546
applied the proposal by nsz
dwm.c
--- a/dwm.c	Tue May 06 15:13:36 2008 +0100
+++ b/dwm.c	Tue May 06 15:52:44 2008 +0100
@@ -112,7 +112,7 @@
 	const char *symbol;
 	void (*arrange)(void);
 	Bool isfloating;
-} Layout; 
+} Layout;
 
 typedef struct {
 	const char *class;
@@ -241,13 +241,15 @@
 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 */