mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-26 07:57:59 -04:00
term: remove unneeded (and mostly unused) term->flash{,_alpha}
This commit is contained in:
parent
8a2a450778
commit
eea995637d
2 changed files with 0 additions and 6 deletions
|
|
@ -1170,8 +1170,6 @@ term_init(const struct config *conf, struct fdm *fdm, struct reaper *reaper,
|
||||||
.colors = {
|
.colors = {
|
||||||
.fg = conf->colors.fg,
|
.fg = conf->colors.fg,
|
||||||
.bg = conf->colors.bg,
|
.bg = conf->colors.bg,
|
||||||
.flash = conf->colors.flash,
|
|
||||||
.flash_alpha = conf->colors.flash_alpha,
|
|
||||||
.alpha = conf->colors.alpha,
|
.alpha = conf->colors.alpha,
|
||||||
.selection_fg = conf->colors.selection_fg,
|
.selection_fg = conf->colors.selection_fg,
|
||||||
.selection_bg = conf->colors.selection_bg,
|
.selection_bg = conf->colors.selection_bg,
|
||||||
|
|
@ -1924,9 +1922,7 @@ term_reset(struct terminal *term, bool hard)
|
||||||
fdm_del(term->fdm, term->blink.fd); term->blink.fd = -1;
|
fdm_del(term->fdm, term->blink.fd); term->blink.fd = -1;
|
||||||
term->colors.fg = term->conf->colors.fg;
|
term->colors.fg = term->conf->colors.fg;
|
||||||
term->colors.bg = term->conf->colors.bg;
|
term->colors.bg = term->conf->colors.bg;
|
||||||
term->colors.flash = term->conf->colors.flash;
|
|
||||||
term->colors.alpha = term->conf->colors.alpha;
|
term->colors.alpha = term->conf->colors.alpha;
|
||||||
term->colors.flash_alpha = term->conf->colors.flash_alpha;
|
|
||||||
term->colors.selection_fg = term->conf->colors.selection_fg;
|
term->colors.selection_fg = term->conf->colors.selection_fg;
|
||||||
term->colors.selection_bg = term->conf->colors.selection_bg;
|
term->colors.selection_bg = term->conf->colors.selection_bg;
|
||||||
term->colors.use_custom_selection = term->conf->colors.use_custom.selection;
|
term->colors.use_custom_selection = term->conf->colors.use_custom.selection;
|
||||||
|
|
|
||||||
|
|
@ -508,8 +508,6 @@ struct terminal {
|
||||||
struct {
|
struct {
|
||||||
uint32_t fg;
|
uint32_t fg;
|
||||||
uint32_t bg;
|
uint32_t bg;
|
||||||
uint32_t flash;
|
|
||||||
uint32_t flash_alpha;
|
|
||||||
uint32_t table[256];
|
uint32_t table[256];
|
||||||
uint16_t alpha;
|
uint16_t alpha;
|
||||||
uint32_t selection_fg;
|
uint32_t selection_fg;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue