dwm-meillo

diff dwm.h @ 178:e848966a1ac6

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
author arg@10ksloc.org
date Thu, 03 Aug 2006 12:12:26 +0200
parents 1db04019684e
children 523df4a3c1c4
line diff
     1.1 --- a/dwm.h	Thu Aug 03 11:38:26 2006 +0200
     1.2 +++ b/dwm.h	Thu Aug 03 12:12:26 2006 +0200
     1.3 @@ -60,16 +60,17 @@
     1.4  	unsigned int border;
     1.5  	Bool isfloat;
     1.6  	Bool ismax;
     1.7 -	Bool tags[TLast];
     1.8 +	Bool *tags;
     1.9  	Client *next;
    1.10  	Client *prev;
    1.11  	Window win;
    1.12  	Window title;
    1.13  };
    1.14  
    1.15 -extern const char *tags[TLast];
    1.16 +extern const char *tags[];
    1.17  extern char stext[1024];
    1.18  extern int tsel, screen, sx, sy, sw, sh, bx, by, bw, bh, mw;
    1.19 +extern unsigned int ntags;
    1.20  extern void (*handler[LASTEvent])(XEvent *);
    1.21  extern void (*arrange)(Arg *);
    1.22  extern Atom wmatom[WMLast], netatom[NetLast];