summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dwm.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/dwm.c b/dwm.c
index 760ba27..997a220 100644
--- a/dwm.c
+++ b/dwm.c
@@ -112,7 +112,7 @@ typedef struct {
112 const char *symbol; 112 const char *symbol;
113 void (*arrange)(void); 113 void (*arrange)(void);
114 Bool isfloating; 114 Bool isfloating;
115} Layout; 115} Layout;
116 116
117typedef struct { 117typedef struct {
118 const char *class; 118 const char *class;
@@ -241,13 +241,15 @@ Client *stack = NULL;
241Cursor cursor[CurLast]; 241Cursor cursor[CurLast];
242Display *dpy; 242Display *dpy;
243DC dc = {0}; 243DC dc = {0};
244Geom geoms[];
245Geom *geom = geoms;
246Layout layouts[];
247Layout *lt = layouts;
244Window root, barwin; 248Window root, barwin;
245 249
246/* configuration, allows nested code to access above variables */ 250/* configuration, allows nested code to access above variables */
247#include "config.h" 251#include "config.h"
248#define TAGSZ (LENGTH(tags) * sizeof(Bool)) 252#define TAGSZ (LENGTH(tags) * sizeof(Bool))
249Layout *lt = layouts;
250Geom *geom = geoms;
251 253
252/* function implementations */ 254/* function implementations */
253 255