aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2016-06-05 07:18:10 -0400
committerJesse Luehrs <doy@tozt.net>2016-06-05 07:18:10 -0400
commite7d37f8abb44b048a43caff70c033456ec65d388 (patch)
tree51a64e47ccd2cee961f1a3133282d8efdf85e3f9
parent8ee1f14e9b839891d199a7e9337df2e8dfb90e98 (diff)
downloadrunes-e7d37f8abb44b048a43caff70c033456ec65d388.tar.gz
runes-e7d37f8abb44b048a43caff70c033456ec65d388.zip
no reason to flush the surface here
since we're immediately calling runes_window_flush anyway
-rw-r--r--src/window-xlib.c1
1 files changed, 0 insertions, 1 deletions
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);