aboutsummaryrefslogtreecommitdiff
path: root/dwm.c
diff options
context:
space:
mode:
authorAnselm R Garbe2008-05-06 15:52:44 +0100
committerAnselm R Garbe2008-05-06 15:52:44 +0100
commitb848f4bda8861115c04aecd9fd87baf928d931de (patch)
tree136579c7ccf2591c075b48610bf60ddf419cf6ff /dwm.c
parent86c4797f2cd1e0d7fdbb4ebe83066762062e4217 (diff)
applied the proposal by nsz
Diffstat (limited to 'dwm.c')
-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 {
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 */