summaryrefslogtreecommitdiffstats
path: root/dwm.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-09-29 12:38:27 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-09-29 12:38:27 +0200
commit14d05e7c725a4a07136ceb123cf760272afc1a87 (patch)
tree39328e09b357c05afb8951c5aaccaeb844b2b14d /dwm.h
parentrenamed column into area (diff)
downloaddwm-14d05e7c725a4a07136ceb123cf760272afc1a87.tar.gz
dwm-14d05e7c725a4a07136ceb123cf760272afc1a87.zip
first step to a more flexible dotile() algorithm
Diffstat (limited to '')
-rw-r--r--dwm.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/dwm.h b/dwm.h
index 234a734..0d2ed3f 100644
--- a/dwm.h
+++ b/dwm.h
@@ -48,6 +48,10 @@ enum { CurNormal, CurResize, CurMove, CurLast }; /* cursor */
48enum { ColFG, ColBG, ColLast }; /* color */ 48enum { ColFG, ColBG, ColLast }; /* color */
49 49
50typedef enum { 50typedef enum {
51 StackLeft, StackBottom, StackRight
52} StackPos; /* stack position*/
53
54typedef enum {
51 TopLeft, TopRight, BotLeft, BotRight 55 TopLeft, TopRight, BotLeft, BotRight
52} Corner; /* window corners */ 56} Corner; /* window corners */
53 57
@@ -97,16 +101,18 @@ struct Client {
97extern const char *tags[]; /* all tags */ 101extern const char *tags[]; /* all tags */
98extern char stext[1024]; /* status text */ 102extern char stext[1024]; /* status text */
99extern int bx, by, bw, bh, bmw; /* bar geometry, bar mode label width */ 103extern int bx, by, bw, bh, bmw; /* bar geometry, bar mode label width */
100extern int mw, screen, sx, sy, sw, sh; /* screen geometry, master width */ 104extern int master, screen, sx, sy, sw, sh; /* screen geometry, master width */
101extern unsigned int ntags, numlockmask; /* number of tags, dynamic lock mask */ 105extern unsigned int ntags, numlockmask; /* number of tags, dynamic lock mask */
102extern void (*handler[LASTEvent])(XEvent *); /* event handler */ 106extern void (*handler[LASTEvent])(XEvent *); /* event handler */
103extern void (*arrange)(Arg *); /* arrange function, indicates mode */ 107extern void (*arrange)(Arg *); /* arrange function, indicates mode */
104extern Atom wmatom[WMLast], netatom[NetLast]; 108extern Atom wmatom[WMLast], netatom[NetLast];
105extern Bool running, issel, *seltag; /* seltag is array of Bool */ 109extern Bool running, issel, *seltag; /* seltag is array of Bool */
110extern Bool isvertical; /* stack direction */
106extern Client *clients, *sel, *stack; /* global client list and stack */ 111extern Client *clients, *sel, *stack; /* global client list and stack */
107extern Cursor cursor[CurLast]; 112extern Cursor cursor[CurLast];
108extern DC dc; /* global draw context */ 113extern DC dc; /* global draw context */
109extern Display *dpy; 114extern Display *dpy;
115extern StackPos stackpos;
110extern Window root, barwin; 116extern Window root, barwin;
111 117
112/* client.c */ 118/* client.c */