[styles] Set shadow_offset to 0 by default
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
ffe6186fa4
commit
fb36ccee49
|
@ -869,6 +869,8 @@ draw_style_init(Display *disp, int phys_screen, cfg_t *cfg,
|
|||
|
||||
if((shadow = cfg_getint(cfg, "shadow_offset")) != (int) 0xffffffff)
|
||||
c->shadow_offset = shadow;
|
||||
else if(!m)
|
||||
c->shadow_offset = 0;
|
||||
}
|
||||
|
||||
/** Remove a area from a list of them,
|
||||
|
|
Loading…
Reference in New Issue