Use tag code in case of no tag, not ours.

This commit is contained in:
Julien Danjou 2008-03-14 07:27:23 +01:00
parent f797aec81e
commit d1e7633a22
1 changed files with 2 additions and 5 deletions

View File

@ -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);