aboutsummaryrefslogtreecommitdiffstats
path: root/src/window-xlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window-xlib.c')
-rw-r--r--src/window-xlib.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/window-xlib.c b/src/window-xlib.c
index fcb13ef..9b7b228 100644
--- a/src/window-xlib.c
+++ b/src/window-xlib.c
@@ -443,6 +443,16 @@ static void runes_window_backend_resize_window(
static void runes_window_backend_flush(RunesTerm *t)
{
+ if (t->scr.audible_bell) {
+ runes_window_backend_audible_bell(t);
+ t->scr.audible_bell = 0;
+ }
+
+ if (t->scr.visual_bell) {
+ runes_window_backend_visual_bell(t);
+ t->scr.visual_bell = 0;
+ }
+
if (t->visual_bell_is_ringing) {
return;
}