diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-04-09 19:25:28 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-04-09 19:25:28 -0400 |
commit | d6cdde290fd1b0589a4446c0bc1253c3f2f8b2f6 (patch) | |
tree | 907ca479ddc9cd3adcf153c87ec6ec19dce6e6dd /window-xlib.c | |
parent | 6beb7818efb57851a042953937af72163f1bde6c (diff) | |
download | runes-d6cdde290fd1b0589a4446c0bc1253c3f2f8b2f6.tar.gz runes-d6cdde290fd1b0589a4446c0bc1253c3f2f8b2f6.zip |
flush after drawing
Diffstat (limited to 'window-xlib.c')
-rw-r--r-- | window-xlib.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/window-xlib.c b/window-xlib.c index 32a2a66..e5449a7 100644 --- a/window-xlib.c +++ b/window-xlib.c @@ -196,6 +196,11 @@ cairo_surface_t *runes_window_backend_surface_create(RunesTerm *t) return cairo_xlib_surface_create(w->dpy, w->w, vis, attrs.width, attrs.height); } +void runes_window_backend_flush(RunesTerm *t) +{ + XFlush(t->w.dpy); +} + void runes_window_backend_cleanup(RunesTerm *t) { RunesWindowBackend *w; |