add CFGF_NO_TITLE_DUPES to screen and tag sections

This commit is contained in:
Julien Danjou 2007-12-30 18:38:05 +01:00
parent 5599027361
commit 427858460f
1 changed files with 2 additions and 2 deletions

View File

@ -554,7 +554,7 @@ config_parse(const char *confpatharg)
}; };
static cfg_opt_t tags_opts[] = static cfg_opt_t tags_opts[] =
{ {
CFG_SEC((char *) "tag", tag_opts, CFGF_TITLE | CFGF_MULTI), CFG_SEC((char *) "tag", tag_opts, CFGF_TITLE | CFGF_MULTI | CFGF_NO_TITLE_DUPES),
CFG_END() CFG_END()
}; };
static cfg_opt_t layout_opts[] = static cfg_opt_t layout_opts[] =
@ -629,7 +629,7 @@ config_parse(const char *confpatharg)
}; };
static cfg_opt_t opts[] = static cfg_opt_t opts[] =
{ {
CFG_SEC((char *) "screen", screen_opts, CFGF_TITLE | CFGF_MULTI), CFG_SEC((char *) "screen", screen_opts, CFGF_TITLE | CFGF_MULTI | CFGF_NO_TITLE_DUPES),
CFG_SEC((char *) "rules", rules_opts, CFGF_NONE), CFG_SEC((char *) "rules", rules_opts, CFGF_NONE),
CFG_SEC((char *) "keys", keys_opts, CFGF_NONE), CFG_SEC((char *) "keys", keys_opts, CFGF_NONE),
CFG_SEC((char *) "mouse", mouse_opts, CFGF_NONE), CFG_SEC((char *) "mouse", mouse_opts, CFGF_NONE),