mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-20 06:46:26 -04:00
config: add tweak.transparent_fullscreen=no|yes option
When enabled, the alpha channel will not be disabled when in fullscreen state Defaults to `no`
This commit is contained in:
parent
f3d848da01
commit
e41fafd985
4 changed files with 11 additions and 3 deletions
4
config.c
4
config.c
|
|
@ -2569,6 +2569,9 @@ parse_section_tweak(struct context *ctx)
|
|||
else if (streq(key, "bold-text-in-bright-amount"))
|
||||
return value_to_float(ctx, &conf->bold_in_bright.amount);
|
||||
|
||||
else if (strcmp(key, "transparent_fullscreen") == 0)
|
||||
return value_to_bool(ctx, &conf->tweak.transparent_fullscreen);
|
||||
|
||||
else {
|
||||
LOG_CONTEXTUAL_ERR("not a valid option: %s", key);
|
||||
return false;
|
||||
|
|
@ -3158,6 +3161,7 @@ config_load(struct config *conf, const char *conf_path,
|
|||
.box_drawing_solid_shades = true,
|
||||
.font_monospace_warn = true,
|
||||
.sixel = true,
|
||||
.transparent_fullscreen = false,
|
||||
},
|
||||
|
||||
.touch = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue