JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
readded border color, this sucks least
[dwm.git] / dwm.h
diff --git a/dwm.h b/dwm.h
index c44da29..88640b8 100644 (file)
--- a/dwm.h
+++ b/dwm.h
@@ -17,7 +17,7 @@ typedef struct DC DC;
 typedef struct Fnt Fnt;
 
 union Arg {
-       const char **argv;
+       const char *cmd;
        int i;
 };
 
@@ -60,16 +60,17 @@ struct Client {
        unsigned int border;
        Bool isfloat;
        Bool ismax;
-       Bool tags[TLast];
+       Bool *tags;
        Client *next;
        Client *prev;
        Window win;
        Window title;
 };
 
-extern const char *tags[TLast];
+extern const char *tags[];
 extern char stext[1024];
 extern int tsel, screen, sx, sy, sw, sh, bx, by, bw, bh, mw;
+extern unsigned int ntags;
 extern void (*handler[LASTEvent])(XEvent *);
 extern void (*arrange)(Arg *);
 extern Atom wmatom[WMLast], netatom[NetLast];
@@ -90,7 +91,6 @@ extern Client *getctitle(Window w);
 extern void gravitate(Client *c, Bool invert);
 extern void higher(Client *c);
 extern void killclient(Arg *arg);
-extern void lower(Client *c);
 extern void manage(Window w, XWindowAttributes *wa);
 extern void resize(Client *c, Bool sizehints, Corner sticky);
 extern void setsize(Client *c);
@@ -120,6 +120,7 @@ extern int xerror(Display *dsply, XErrorEvent *ee);
 extern void appendtag(Arg *arg);
 extern void dofloat(Arg *arg);
 extern void dotile(Arg *arg);
+extern void initrregs();
 extern Client *getnext(Client *c);
 extern Client *getprev(Client *c);
 extern void replacetag(Arg *arg);