diff options
| author | arg@10ksloc.org <unknown> | 2006-08-03 12:12:26 +0200 |
|---|---|---|
| committer | arg@10ksloc.org <unknown> | 2006-08-03 12:12:26 +0200 |
| commit | b35575574be53a1b3be42d7037d2f432a19a3890 (patch) | |
| tree | 6be2344c68ec6590fa816bbd578e0f36fe21c0b8 /dwm.h | |
| parent | hotfix of settags (diff) | |
| download | dwm-b35575574be53a1b3be42d7037d2f432a19a3890.tar.gz dwm-b35575574be53a1b3be42d7037d2f432a19a3890.zip | |
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
Diffstat (limited to '')
| -rw-r--r-- | dwm.h | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -60,16 +60,17 @@ struct Client { | |||
| 60 | unsigned int border; | 60 | unsigned int border; |
| 61 | Bool isfloat; | 61 | Bool isfloat; |
| 62 | Bool ismax; | 62 | Bool ismax; |
| 63 | Bool tags[TLast]; | 63 | Bool *tags; |
| 64 | Client *next; | 64 | Client *next; |
| 65 | Client *prev; | 65 | Client *prev; |
| 66 | Window win; | 66 | Window win; |
| 67 | Window title; | 67 | Window title; |
| 68 | }; | 68 | }; |
| 69 | 69 | ||
| 70 | extern const char *tags[TLast]; | 70 | extern const char *tags[]; |
| 71 | extern char stext[1024]; | 71 | extern char stext[1024]; |
| 72 | extern int tsel, screen, sx, sy, sw, sh, bx, by, bw, bh, mw; | 72 | extern int tsel, screen, sx, sy, sw, sh, bx, by, bw, bh, mw; |
| 73 | extern unsigned int ntags; | ||
| 73 | extern void (*handler[LASTEvent])(XEvent *); | 74 | extern void (*handler[LASTEvent])(XEvent *); |
| 74 | extern void (*arrange)(Arg *); | 75 | extern void (*arrange)(Arg *); |
| 75 | extern Atom wmatom[WMLast], netatom[NetLast]; | 76 | extern Atom wmatom[WMLast], netatom[NetLast]; |
