Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
changed Client->tags and Rule->tags to be Bool (I'll also try to remove the TLast...
[dwm.git]
/
config.arg.h
diff --git
a/config.arg.h
b/config.arg.h
index
593e4ea
..
a3d312c
100644
(file)
--- a/
config.arg.h
+++ b/
config.arg.h
@@
-5,7
+5,7
@@
enum { Tfnord, Tdev, Tnet, Twork, Tmisc, TLast };
#define TAGS \
enum { Tfnord, Tdev, Tnet, Twork, Tmisc, TLast };
#define TAGS \
-char *tags[TLast] = { \
+c
onst c
har *tags[TLast] = { \
[Tfnord] = "fnord", \
[Tdev] = "dev", \
[Tnet] = "net", \
[Tfnord] = "fnord", \
[Tdev] = "dev", \
[Tnet] = "net", \
@@
-66,7
+66,7
@@
static Key key[] = { \
#define RULES \
static Rule rule[] = { \
/* class:instance tags isfloat */ \
#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}, \
{ "Gimp.*", { 0 }, True}, \
{ "MPlayer.*", { 0 }, True}, \
{ "Acroread.*", { 0 }, True}, \