Completely change the default mwfact to .618

The original changes to tag.c missed quite a bunch.

Signed-off-by: Gregor Best <gbe@ring0.de>
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Gregor Best 2013-05-24 12:16:17 +02:00 committed by Julien Danjou
parent 95216be66b
commit 5ee4b0d97d
3 changed files with 3 additions and 3 deletions

View File

@ -482,7 +482,7 @@ cfg_opt_t tag_opts[] =
/** Default layout for this tag. */ /** Default layout for this tag. */
CFG_STR((char *) "layout", (char *) "tile", CFGF_NONE), CFG_STR((char *) "layout", (char *) "tile", CFGF_NONE),
/** Default master width factor for this tag. */ /** Default master width factor for this tag. */
CFG_FLOAT((char *) "mwfact", 0.5, CFGF_NONE), CFG_FLOAT((char *) "mwfact", 0.618, CFGF_NONE),
/** Default number of master windows for this tag. */ /** Default number of master windows for this tag. */
CFG_INT((char *) "nmaster", 1, CFGF_NONE), CFG_INT((char *) "nmaster", 1, CFGF_NONE),
/** Default number of window columns for this tag. */ /** Default number of window columns for this tag. */

View File

@ -467,7 +467,7 @@ 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 = tag_new("default", virtscreen->layouts, 0.5, 1, 1); tag = tag_new("default", virtscreen->layouts, 0.618, 1, 1);
tag_push_to_screen(tag, screen); tag_push_to_screen(tag, screen);
} }

2
tag.c
View File

@ -483,7 +483,7 @@ uicb_tag_create(int screen, char *arg)
if(!a_strlen(arg)) if(!a_strlen(arg))
return; return;
tag = tag_new(arg, globalconf.screens[screen].layouts, 0.5, 1, 1); tag = tag_new(arg, globalconf.screens[screen].layouts, 0.618, 1, 1);
tag_append_to_screen(tag, screen); tag_append_to_screen(tag, screen);
} }