aboutsummaryrefslogtreecommitdiffstats
path: root/wm.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-13 01:04:38 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-13 01:04:38 +0200
commitda2bbd371c522d63d737d43a127601a3fdbcb9d8 (patch)
treefe7f5874dc09c446d3da38f15930c5f6ae523c13 /wm.h
parentb1701adf75297747c52e0c3ed2c314cd10129907 (diff)
downloaddwm-da2bbd371c522d63d737d43a127601a3fdbcb9d8.tar.gz
before leaning things up
Diffstat (limited to 'wm.h')
-rw-r--r--wm.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/wm.h b/wm.h
index ee89f5b..8cc87f0 100644
--- a/wm.h
+++ b/wm.h
@@ -22,7 +22,8 @@ enum { NetSupported, NetWMName, NetLast };
enum { CurNormal, CurResize, CurMove, CurInput, CurLast };
struct Client {
- char name[256], tag[256];
+ char name[256];
+ char *tags[TLast];
int proto;
int x, y, w, h;
int tx, ty, tw, th;
@@ -48,11 +49,12 @@ extern Display *dpy;
extern Window root, barwin;
extern Atom wm_atom[WMLast], net_atom[NetLast];
extern Cursor cursor[CurLast];
-extern Bool running, sel_screen, grid;
+extern Bool running, issel;
extern void (*handler[LASTEvent]) (XEvent *);
+extern void (*arrange)(void *aux);
-extern int screen, sx, sy, sw, sh, bx, by, bw, bh;
-extern char statustext[1024], tag[256];
+extern int tsel, screen, sx, sy, sw, sh, bx, by, bw, bh;
+extern char stext[1024], *tags[TLast];
extern Brush brush;
extern Client *clients, *stack;
@@ -75,7 +77,8 @@ extern void lower(Client *c);
extern void kill(void *aux);
extern void sel(void *aux);
extern void max(void *aux);
-extern void arrange(void *aux);
+extern void floating(void *aux);
+extern void grid(void *aux);
extern void gravitate(Client *c, Bool invert);
/* event.c */