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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/window-xlib.c b/src/window-xlib.c
index 524b853..c41bedf 100644
--- a/src/window-xlib.c
+++ b/src/window-xlib.c
@@ -625,6 +625,9 @@ static void runes_window_backend_reset_visual_bell(void *t)
{
RunesWindowBackend *w = ((RunesTerm *)t)->w;
+ cairo_set_source(w->backend_cr, ((RunesTerm *)t)->config->bgdefault);
+ cairo_paint(w->backend_cr);
+ cairo_surface_flush(cairo_get_target(w->backend_cr));
runes_window_backend_request_flush(t);
w->visual_bell_is_ringing = 0;
}