aboutsummaryrefslogtreecommitdiff
path: root/wm.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-11 11:27:56 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-11 11:27:56 +0200
commit8a8b7956b6de80decbfd3bff6d2ad6e5bb69b2bd (patch)
tree9d16550b8008be5469453dd1b39fc548e35256ad /wm.h
parent3a69c5173cdd24959410870bec2a10a76272e034 (diff)
downloaddwm-8a8b7956b6de80decbfd3bff6d2ad6e5bb69b2bd.tar.gz
dwm-8a8b7956b6de80decbfd3bff6d2ad6e5bb69b2bd.tar.bz2
dwm-8a8b7956b6de80decbfd3bff6d2ad6e5bb69b2bd.zip
new stuff
Diffstat (limited to 'wm.h')
-rw-r--r--wm.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/wm.h b/wm.h
index c4d65ea..01bbee4 100644
--- a/wm.h
+++ b/wm.h
@@ -20,11 +20,10 @@ enum { CurNormal, CurResize, CurMove, CurInput, CurLast };
enum { RFloat, RGrid, RLast };
typedef struct Client Client;
-typedef struct Tag Tag;
struct Client {
- Tag *tag;
char name[256];
+ char tag[256];
int proto;
unsigned int border;
Bool fixedsize;
@@ -37,27 +36,21 @@ struct Client {
Client *snext;
};
-struct Tag {
- char name[256];
- Client *stack;
- XRectangle r;
- Tag *next;
- Tag *cnext;
-};
-
extern Display *dpy;
extern Window root, barwin;
extern Atom wm_atom[WMLast], net_atom[NetLast];
extern Cursor cursor[CurLast];
extern XRectangle rect, barrect;
extern Bool running;
+extern Bool grid;
extern void (*handler[LASTEvent]) (XEvent *);
extern int screen, sel_screen;
extern unsigned int lock_mask, numlock_mask;
-extern char *bartext;
+extern char *bartext, tag[256];
extern Brush brush;
+extern Client *client;
/* bar.c */
extern void draw_bar();