aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-01-09 06:55:29 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-01-09 06:55:29 +0000
commit20466e7fa49a454a56cdb204cd70c06b442183ad (patch)
tree66edfcf809618df064f6a30d1c18b4946fc5002b /terminal.c
parentMerge branch 'ignore-title-and-app-id-report-queries' (diff)
parentRevert "config: don't allow colors.flash-alpha to be 1.0" (diff)
Merge branch 'opaque-flash'
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/terminal.c b/terminal.c
index 5a74631a..7b5a4d2d 100644
--- a/terminal.c
+++ b/terminal.c
@@ -419,7 +419,12 @@ fdm_flash(struct fdm *fdm, int fd, int events, void *data)
(unsigned long long)expiration_count);
term->flash.active = false;
- render_refresh(term);
+ render_overlay(term);
+
+ // since the overlay surface is synced with the main window surface, we have
+ // to commit the main surface for the compositor to acknowledge the new
+ // overlay state.
+ wl_surface_commit(term->window->surface.surf);
return true;
}