diff options
Diffstat (limited to 'dwm.h')
| -rw-r--r-- | dwm.h | 8 |
1 files changed, 7 insertions, 1 deletions
| @@ -48,6 +48,10 @@ enum { CurNormal, CurResize, CurMove, CurLast }; /* cursor */ | |||
| 48 | enum { ColFG, ColBG, ColLast }; /* color */ | 48 | enum { ColFG, ColBG, ColLast }; /* color */ |
| 49 | 49 | ||
| 50 | typedef enum { | 50 | typedef enum { |
| 51 | StackLeft, StackBottom, StackRight | ||
| 52 | } StackPos; /* stack position*/ | ||
| 53 | |||
| 54 | typedef 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 { | |||
| 97 | extern const char *tags[]; /* all tags */ | 101 | extern const char *tags[]; /* all tags */ |
| 98 | extern char stext[1024]; /* status text */ | 102 | extern char stext[1024]; /* status text */ |
| 99 | extern int bx, by, bw, bh, bmw; /* bar geometry, bar mode label width */ | 103 | extern int bx, by, bw, bh, bmw; /* bar geometry, bar mode label width */ |
| 100 | extern int mw, screen, sx, sy, sw, sh; /* screen geometry, master width */ | 104 | extern int master, screen, sx, sy, sw, sh; /* screen geometry, master width */ |
| 101 | extern unsigned int ntags, numlockmask; /* number of tags, dynamic lock mask */ | 105 | extern unsigned int ntags, numlockmask; /* number of tags, dynamic lock mask */ |
| 102 | extern void (*handler[LASTEvent])(XEvent *); /* event handler */ | 106 | extern void (*handler[LASTEvent])(XEvent *); /* event handler */ |
| 103 | extern void (*arrange)(Arg *); /* arrange function, indicates mode */ | 107 | extern void (*arrange)(Arg *); /* arrange function, indicates mode */ |
| 104 | extern Atom wmatom[WMLast], netatom[NetLast]; | 108 | extern Atom wmatom[WMLast], netatom[NetLast]; |
| 105 | extern Bool running, issel, *seltag; /* seltag is array of Bool */ | 109 | extern Bool running, issel, *seltag; /* seltag is array of Bool */ |
| 110 | extern Bool isvertical; /* stack direction */ | ||
| 106 | extern Client *clients, *sel, *stack; /* global client list and stack */ | 111 | extern Client *clients, *sel, *stack; /* global client list and stack */ |
| 107 | extern Cursor cursor[CurLast]; | 112 | extern Cursor cursor[CurLast]; |
| 108 | extern DC dc; /* global draw context */ | 113 | extern DC dc; /* global draw context */ |
| 109 | extern Display *dpy; | 114 | extern Display *dpy; |
| 115 | extern StackPos stackpos; | ||
| 110 | extern Window root, barwin; | 116 | extern Window root, barwin; |
| 111 | 117 | ||
| 112 | /* client.c */ | 118 | /* client.c */ |
