Conf: Reverse allowing border height of client to 0
This commit is contained in:
parent
fb8daed2b5
commit
8c24370a9f
@ -213,7 +213,7 @@ conf_client_section(char *src)
|
||||
/* Client misc */
|
||||
cfg_set_sauv(src);
|
||||
|
||||
conf.client.borderheight = (get_opt(src, "1", "border_height").num);
|
||||
conf.client.borderheight = (get_opt(src, "1", "border_height").num < 1 ? 1 : get_opt(src, "1", "border_height").num);
|
||||
conf.client.border_shadow = get_opt(src, "false", "border_shadow").bool;
|
||||
conf.client.place_at_mouse = get_opt(src, "false", "place_at_mouse").bool;
|
||||
conf.client.bordernormal = getcolor(get_opt(src, "#000000", "border_normal").str);
|
||||
|
||||
@ -86,7 +86,7 @@
|
||||
#define SHADC (0x000000) /* 'Cause i don't know how darken a color yet */
|
||||
#define BORDH conf.client.borderheight
|
||||
#define TBARH ((conf.titlebar.height < BORDH) ? BORDH : conf.titlebar.height)
|
||||
#define RESHW (6 * (BORDH + 1))
|
||||
#define RESHW (6 * (BORDH))
|
||||
#define BUTTONWH (TBARH / 2)
|
||||
#define DEF_CONF ".config/wmfs/wmfsrc"
|
||||
#define DEF_STATUS ".config/wmfs/status.sh"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user