JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
removed TLast tag enum, now tags is simple defined as char *[] array, the rest is...
[dwm.git] / dwm.h
diff --git a/dwm.h b/dwm.h
index c44da29..25971ac 100644 (file)
--- a/dwm.h
+++ b/dwm.h
@@ -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];