aboutsummaryrefslogtreecommitdiff
path: root/osc.c
diff options
context:
space:
mode:
Diffstat (limited to 'osc.c')
-rw-r--r--osc.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/osc.c b/osc.c
index 55cfcf84..45d114de 100644
--- a/osc.c
+++ b/osc.c
@@ -729,8 +729,15 @@ osc_dispatch(struct terminal *term)
case 11:
term->colors.bg = color;
- if (have_alpha)
+ if (have_alpha) {
+ const bool changed = term->colors.alpha != alpha;
term->colors.alpha = alpha;
+
+ if (changed) {
+ wayl_win_alpha_changed(term->window);
+ term_font_subpixel_changed(term);
+ }
+ }
break;
case 17: