removed MAXTAGLEN
2dbfda72
2 file(s) · +2 −3
| 1 | 1 | /* See LICENSE file for copyright and license details. */ |
|
| 2 | 2 | ||
| 3 | 3 | /* appearance */ |
|
| 4 | - | static const char font[] = "-*-terminus-medium-r-normal-*-14-*-*-*-*-*-*-*"; |
|
| 4 | + | static const char font[] = "-*-*-medium-*-*-*-14-*-*-*-*-*-*-*"; |
|
| 5 | 5 | static const char normbordercolor[] = "#cccccc"; |
|
| 6 | 6 | static const char normbgcolor[] = "#cccccc"; |
|
| 7 | 7 | static const char normfgcolor[] = "#000000"; |
|
| 14 | 14 | static Bool topbar = True; /* False means bottom bar */ |
|
| 15 | 15 | ||
| 16 | 16 | /* tagging */ |
|
| 17 | - | static const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; |
|
| 17 | + | static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; |
|
| 18 | 18 | static unsigned int tagset[] = {1, 1}; /* after start, first tag is selected */ |
|
| 19 | 19 | ||
| 20 | 20 | static Rule rules[] = { |
|
| 48 | 48 | #define LENGTH(x) (sizeof x / sizeof x[0]) |
|
| 49 | 49 | #define MAX(a, b) ((a) > (b) ? (a) : (b)) |
|
| 50 | 50 | #define MIN(a, b) ((a) < (b) ? (a) : (b)) |
|
| 51 | - | #define MAXTAGLEN 16 |
|
| 52 | 51 | #define MOUSEMASK (BUTTONMASK|PointerMotionMask) |
|
| 53 | 52 | #define WIDTH(x) ((x)->w + 2 * (x)->bw) |
|
| 54 | 53 | #define HEIGHT(x) ((x)->h + 2 * (x)->bw) |