changed Client->tags and Rule->tags to be Bool (I'll also try to remove the TLast enum)

This commit is contained in:
arg@10ksloc.org
2006-08-03 10:55:07 +02:00
parent 5d3fd3707b
commit 8cc7f3bace
6 changed files with 18 additions and 17 deletions

View File

@ -5,7 +5,7 @@
enum { Tfnord, Tdev, Tnet, Twork, Tmisc, TLast };
#define TAGS \
char *tags[TLast] = { \
const char *tags[TLast] = { \
[Tfnord] = "fnord", \
[Tdev] = "dev", \
[Tnet] = "net", \
@ -66,7 +66,7 @@ static Key key[] = { \
#define RULES \
static Rule rule[] = { \
/* class:instance tags isfloat */ \
{ "Firefox.*", { [Tnet] = "net" }, False }, \
{ "Firefox.*", { [Tnet] = True }, False }, \
{ "Gimp.*", { 0 }, True}, \
{ "MPlayer.*", { 0 }, True}, \
{ "Acroread.*", { 0 }, True}, \