aewl
diff dwm.h @ 173:1db04019684e
changed Client->tags and Rule->tags to be Bool (I'll also try to remove the TLast enum)
author | arg@10ksloc.org |
---|---|
date | Thu, 03 Aug 2006 10:55:07 +0200 |
parents | e0535db04dfe |
children | e848966a1ac6 |
line diff
1.1 --- a/dwm.h Wed Aug 02 17:49:21 2006 +0200 1.2 +++ b/dwm.h Thu Aug 03 10:55:07 2006 +0200 1.3 @@ -51,7 +51,6 @@ 1.4 1.5 struct Client { 1.6 char name[256]; 1.7 - char *tags[TLast]; 1.8 int proto; 1.9 int x, y, w, h; 1.10 int tx, ty, tw, th; /* title */ 1.11 @@ -61,13 +60,15 @@ 1.12 unsigned int border; 1.13 Bool isfloat; 1.14 Bool ismax; 1.15 + Bool tags[TLast]; 1.16 Client *next; 1.17 Client *prev; 1.18 Window win; 1.19 Window title; 1.20 }; 1.21 1.22 -extern char *tags[TLast], stext[1024]; 1.23 +extern const char *tags[TLast]; 1.24 +extern char stext[1024]; 1.25 extern int tsel, screen, sx, sy, sw, sh, bx, by, bw, bh, mw; 1.26 extern void (*handler[LASTEvent])(XEvent *); 1.27 extern void (*arrange)(Arg *); 1.28 @@ -104,7 +105,7 @@ 1.29 extern void drawtitle(Client *c); 1.30 extern unsigned long getcolor(const char *colstr); 1.31 extern void setfont(const char *fontstr); 1.32 -extern unsigned int textw(char *text); 1.33 +extern unsigned int textw(const char *text); 1.34 1.35 /* event.c */ 1.36 extern void grabkeys();