Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
86c4797
)
applied the proposal by nsz
author
Anselm R Garbe
<garbeam@gmail.com>
Tue, 6 May 2008 14:52:44 +0000
(15:52 +0100)
committer
Anselm R Garbe
<garbeam@gmail.com>
Tue, 6 May 2008 14:52:44 +0000
(15:52 +0100)
dwm.c
patch
|
blob
|
history
diff --git
a/dwm.c
b/dwm.c
index
760ba27
..
997a220
100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-112,7
+112,7
@@
typedef struct {
const char *symbol;
void (*arrange)(void);
Bool isfloating;
const char *symbol;
void (*arrange)(void);
Bool isfloating;
-} Layout;
+} Layout;
typedef struct {
const char *class;
typedef struct {
const char *class;
@@
-241,13
+241,15
@@
Client *stack = NULL;
Cursor cursor[CurLast];
Display *dpy;
DC dc = {0};
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))
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 */
/* function implementations */