1 unnecessary space after Layout definition
2 some may need lt in their config (eg i use lt->isfloating in my
pushup/down algo)

--- a/dwm.c     Mon May 05 20:06:43 2008 +0200
+++ b/dwm.c     Mon May 05 20:26:51 2008 +0200
@@ -112,7 +112,7 @@
        const char *symbol;
        void (*arrange)(void);
        Bool isfloating;
-} Layout;
+} Layout;

 typedef struct {
        const char *class;
@@ -244,10 +244,12 @@
 Window root, barwin;

 /* configuration, allows nested code to access above variables */
+Layout layouts[];
+Geom geoms[];
+Layout *lt = layouts;
+Geom *geom = geoms;
 #include "config.h"
 #define TAGSZ (LENGTH(tags) * sizeof(Bool))
-Layout *lt = layouts;
-Geom *geom = geoms;

Reply via email to