From e7d37f8abb44b048a43caff70c033456ec65d388 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 5 Jun 2016 07:18:10 -0400 Subject: no reason to flush the surface here since we're immediately calling runes_window_flush anyway --- src/window-xlib.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/window-xlib.c b/src/window-xlib.c index 6c1058d..cc7da43 100644 --- a/src/window-xlib.c +++ b/src/window-xlib.c @@ -608,7 +608,6 @@ static void runes_window_reset_visual_bell(void *t) 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_flush(t); w->visual_bell_is_ringing = 0; runes_term_refcnt_dec(t); -- cgit v1.2.3