aboutsummaryrefslogtreecommitdiff
path: root/osc.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-04-07 17:04:25 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-04-18 18:08:06 +0000
commite853098f4608d5fa457bc873bb4fcfb23d6c2396 (patch)
tree8f212f13e2244cfb6755b2753d5120f4e105d46a /osc.c
parentdoc: foot-ctlseq: mention that we support transparency in OSC 11 (diff)
osc: reset background alpha when resetting the background color
Diffstat (limited to 'osc.c')
-rw-r--r--osc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/osc.c b/osc.c
index 0aa75247..157272d9 100644
--- a/osc.c
+++ b/osc.c
@@ -824,6 +824,7 @@ osc_dispatch(struct terminal *term)
case 111: /* Reset default text background color */
LOG_DBG("resetting background color");
term->colors.bg = term->conf->colors.bg;
+ term->colors.alpha = term->conf->colors.alpha;
term_damage_view(term);
term_damage_margins(term);
break;