aboutsummaryrefslogtreecommitdiff
path: root/dwm.h
diff options
context:
space:
mode:
authorarg@10ksloc.org <unknown>2006-08-03 10:55:07 +0200
committerarg@10ksloc.org <unknown>2006-08-03 10:55:07 +0200
commit8cc7f3bace087dfb024a23115c211d82b35614ae (patch)
tree5288e485d560dff018832a5160a19e6c69e93dd4 /dwm.h
parent5d3fd3707b262508d1750cf95ac2e2f666be6163 (diff)
changed Client->tags and Rule->tags to be Bool (I'll also try to remove the TLast enum)
Diffstat (limited to 'dwm.h')
-rw-r--r--dwm.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/dwm.h b/dwm.h
index 68b307d..c44da29 100644
--- a/dwm.h
+++ b/dwm.h
@@ -51,7 +51,6 @@ struct DC { /* draw context */
struct Client {
char name[256];
- char *tags[TLast];
int proto;
int x, y, w, h;
int tx, ty, tw, th; /* title */
@@ -61,13 +60,15 @@ struct Client {
unsigned int border;
Bool isfloat;
Bool ismax;
+ Bool tags[TLast];
Client *next;
Client *prev;
Window win;
Window title;
};
-extern char *tags[TLast], stext[1024];
+extern const char *tags[TLast];
+extern char stext[1024];
extern int tsel, screen, sx, sy, sw, sh, bx, by, bw, bh, mw;
extern void (*handler[LASTEvent])(XEvent *);
extern void (*arrange)(Arg *);
@@ -104,7 +105,7 @@ extern void drawstatus();
extern void drawtitle(Client *c);
extern unsigned long getcolor(const char *colstr);
extern void setfont(const char *fontstr);
-extern unsigned int textw(char *text);
+extern unsigned int textw(const char *text);
/* event.c */
extern void grabkeys();