removed TLast tag enum, now tags is simple defined as char *[] array, the rest is calculated correctly, rules take an int array for the tags

This commit is contained in:
arg@10ksloc.org
2006-08-03 12:12:26 +02:00
parent 666b4563a0
commit b35575574b
8 changed files with 66 additions and 71 deletions

5
dwm.h
View File

@ -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];