diff options
| author | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-11 11:27:56 +0200 |
|---|---|---|
| committer | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-11 11:27:56 +0200 |
| commit | 8a8b7956b6de80decbfd3bff6d2ad6e5bb69b2bd (patch) | |
| tree | 9d16550b8008be5469453dd1b39fc548e35256ad /wm.h | |
| parent | implemented pipe_spawn (diff) | |
| download | dwm-8a8b7956b6de80decbfd3bff6d2ad6e5bb69b2bd.tar.gz dwm-8a8b7956b6de80decbfd3bff6d2ad6e5bb69b2bd.zip | |
new stuff
Diffstat (limited to '')
| -rw-r--r-- | wm.h | 15 |
1 files changed, 4 insertions, 11 deletions
| @@ -20,11 +20,10 @@ enum { CurNormal, CurResize, CurMove, CurInput, CurLast }; | |||
| 20 | enum { RFloat, RGrid, RLast }; | 20 | enum { RFloat, RGrid, RLast }; |
| 21 | 21 | ||
| 22 | typedef struct Client Client; | 22 | typedef struct Client Client; |
| 23 | typedef struct Tag Tag; | ||
| 24 | 23 | ||
| 25 | struct Client { | 24 | struct Client { |
| 26 | Tag *tag; | ||
| 27 | char name[256]; | 25 | char name[256]; |
| 26 | char tag[256]; | ||
| 28 | int proto; | 27 | int proto; |
| 29 | unsigned int border; | 28 | unsigned int border; |
| 30 | Bool fixedsize; | 29 | Bool fixedsize; |
| @@ -37,27 +36,21 @@ struct Client { | |||
| 37 | Client *snext; | 36 | Client *snext; |
| 38 | }; | 37 | }; |
| 39 | 38 | ||
| 40 | struct Tag { | ||
| 41 | char name[256]; | ||
| 42 | Client *stack; | ||
| 43 | XRectangle r; | ||
| 44 | Tag *next; | ||
| 45 | Tag *cnext; | ||
| 46 | }; | ||
| 47 | |||
| 48 | extern Display *dpy; | 39 | extern Display *dpy; |
| 49 | extern Window root, barwin; | 40 | extern Window root, barwin; |
| 50 | extern Atom wm_atom[WMLast], net_atom[NetLast]; | 41 | extern Atom wm_atom[WMLast], net_atom[NetLast]; |
| 51 | extern Cursor cursor[CurLast]; | 42 | extern Cursor cursor[CurLast]; |
| 52 | extern XRectangle rect, barrect; | 43 | extern XRectangle rect, barrect; |
| 53 | extern Bool running; | 44 | extern Bool running; |
| 45 | extern Bool grid; | ||
| 54 | extern void (*handler[LASTEvent]) (XEvent *); | 46 | extern void (*handler[LASTEvent]) (XEvent *); |
| 55 | 47 | ||
| 56 | extern int screen, sel_screen; | 48 | extern int screen, sel_screen; |
| 57 | extern unsigned int lock_mask, numlock_mask; | 49 | extern unsigned int lock_mask, numlock_mask; |
| 58 | extern char *bartext; | 50 | extern char *bartext, tag[256]; |
| 59 | 51 | ||
| 60 | extern Brush brush; | 52 | extern Brush brush; |
| 53 | extern Client *client; | ||
| 61 | 54 | ||
| 62 | /* bar.c */ | 55 | /* bar.c */ |
| 63 | extern void draw_bar(); | 56 | extern void draw_bar(); |
