aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-04-13 12:55:08 -0400
committerJesse Luehrs <doy@tozt.net>2014-04-13 12:55:08 -0400
commit8bb5e9a0604914ee57aa8f5c3560498de0f2740e (patch)
tree63d74ed410b8e8b504a4f968d0a945abaa56f9ca
parent16d6e72efee6d39d6622fdf73c210b706d88e5cc (diff)
downloadrunes-8bb5e9a0604914ee57aa8f5c3560498de0f2740e.tar.gz
runes-8bb5e9a0604914ee57aa8f5c3560498de0f2740e.zip
this should actually be using cairo_surface_flush
-rw-r--r--window-xlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/window-xlib.c b/window-xlib.c
index 2d54187..0924e2a 100644
--- a/window-xlib.c
+++ b/window-xlib.c
@@ -352,5 +352,5 @@ static void runes_window_backend_flush(RunesTerm *t)
cairo_set_source_surface(t->backend_cr, cairo_get_target(t->cr), 0.0, 0.0);
cairo_paint(t->backend_cr);
runes_display_draw_cursor(t);
- XFlush(t->w.dpy);
+ cairo_surface_flush(cairo_get_target(t->backend_cr));
}