aboutsummaryrefslogtreecommitdiffstats
path: root/src/window-xlib.c
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-05-01 22:11:37 -0400
committerJesse Luehrs <doy@tozt.net>2014-05-01 22:11:37 -0400
commit250cc3d1e571cbb71119f8c2193f23be444b0c71 (patch)
treebf8ca18b2349c636b1b12340ae1952b8372ee83b /src/window-xlib.c
parent5a07dfe1df384d55596e614c04b31e7ea2090636 (diff)
downloadrunes-250cc3d1e571cbb71119f8c2193f23be444b0c71.tar.gz
runes-250cc3d1e571cbb71119f8c2193f23be444b0c71.zip
don't draw the screen at all until we need to flush
Diffstat (limited to 'src/window-xlib.c')
-rw-r--r--src/window-xlib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/window-xlib.c b/src/window-xlib.c
index 7324690..59b2849 100644
--- a/src/window-xlib.c
+++ b/src/window-xlib.c
@@ -476,6 +476,8 @@ static void runes_window_backend_flush(RunesTerm *t)
return;
}
+ runes_display_draw_screen(t);
+
cairo_set_source_surface(w->backend_cr, cairo_get_target(t->cr), 0.0, 0.0);
cairo_paint(w->backend_cr);
runes_display_draw_cursor(t, w->backend_cr);