mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-17 06:46:21 -04:00
key-binding: add binds for changing alpha
This commit is contained in:
parent
d7b48d3924
commit
1ed7206222
9 changed files with 54 additions and 2 deletions
|
|
@ -2323,6 +2323,15 @@ term_font_size_reset(struct terminal *term)
|
|||
return load_fonts_from_conf(term);
|
||||
}
|
||||
|
||||
void
|
||||
term_alpha_set(struct terminal *term, uint16_t alpha)
|
||||
{
|
||||
term->colors.alpha = alpha;
|
||||
term_damage_margins(term);
|
||||
wayl_win_alpha_changed(term->window);
|
||||
term_font_subpixel_changed(term);
|
||||
}
|
||||
|
||||
bool
|
||||
term_fractional_scaling(const struct terminal *term)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue