version 1.225, 2021/06/10 07:56:47 |
version 1.226, 2021/08/12 20:09:34 |
|
|
/* Set up default colour. */ |
/* Set up default colour. */ |
style_apply(&gc, s->options, "status-style", ft); |
style_apply(&gc, s->options, "status-style", ft); |
fg = options_get_number(s->options, "status-fg"); |
fg = options_get_number(s->options, "status-fg"); |
if (fg != 8) |
if (!COLOUR_DEFAULT(fg)) |
gc.fg = fg; |
gc.fg = fg; |
bg = options_get_number(s->options, "status-bg"); |
bg = options_get_number(s->options, "status-bg"); |
if (bg != 8) |
if (!COLOUR_DEFAULT(bg)) |
gc.bg = bg; |
gc.bg = bg; |
if (!grid_cells_equal(&gc, &sl->style)) { |
if (!grid_cells_equal(&gc, &sl->style)) { |
force = 1; |
force = 1; |