Use tag code in case of no tag, not ours.
This commit is contained in:
parent
f797aec81e
commit
d1e7633a22
7
config.c
7
config.c
|
@ -427,11 +427,8 @@ config_parse_screen(cfg_t *cfg, int screen)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
warn("fatal: no tags found in configuration file\n");
|
warn("fatal: no tags found in configuration file\n");
|
||||||
tag->name = a_strdup("default");
|
tag = tag_new("default", virtscreen->layouts, 0.5, 1, 1);
|
||||||
tag->layout = virtscreen->layouts;
|
tag_push_to_screen(tag, screen);
|
||||||
tag->nmaster = 1;
|
|
||||||
tag->ncol = 1;
|
|
||||||
tag->mwfact = 0.5;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ewmh_update_net_numbers_of_desktop(phys_screen);
|
ewmh_update_net_numbers_of_desktop(phys_screen);
|
||||||
|
|
Loading…
Reference in New Issue