aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-04-16 22:00:11 -0400
committerJesse Luehrs <doy@tozt.net>2014-04-16 22:00:11 -0400
commit7dece4fc5749e8d9a5758e58c9e717eb1bcb4280 (patch)
tree0d6b74a208fb2c0852810d83174fe056192538ff
parent56953e58be9296e586c4c8382bee4ba162cfe99b (diff)
downloadrunes-7dece4fc5749e8d9a5758e58c9e717eb1bcb4280.tar.gz
runes-7dece4fc5749e8d9a5758e58c9e717eb1bcb4280.zip
try to get visual bell working a bit better
-rw-r--r--window-xlib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/window-xlib.c b/window-xlib.c
index d529c79..0700b6e 100644
--- a/window-xlib.c
+++ b/window-xlib.c
@@ -256,6 +256,7 @@ void runes_window_backend_visual_bell(RunesTerm *t)
white = cairo_pattern_create_rgb(1.0, 1.0, 1.0);
cairo_set_source(t->backend_cr, white);
cairo_paint(t->backend_cr);
+ cairo_surface_flush(cairo_get_target(t->backend_cr));
runes_window_backend_flush(t);
}