Commit d63bfbca authored by YAMAMOTO Mitsuharu's avatar YAMAMOTO Mitsuharu

* src/xterm.c (x_update_end) [USE_CAIRO]: Flush non-double-buffered surface.

parent 2a229f49
Pipeline #2193 failed with stage
in 51 minutes and 45 seconds
......@@ -1240,6 +1240,15 @@ x_update_end (struct frame *f)
/* Mouse highlight may be displayed again. */
MOUSE_HL_INFO (f)->mouse_face_defer = false;
#ifdef USE_CAIRO
if (!FRAME_X_DOUBLE_BUFFERED_P (f) && FRAME_CR_CONTEXT (f))
{
block_input ();
cairo_surface_flush (cairo_get_target (FRAME_CR_CONTEXT (f)));
unblock_input ();
}
#endif
#ifndef XFlush
block_input ();
XFlush (FRAME_X_DISPLAY (f));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment