From 77882158b2aeff7f235c409d6572173ae4c3a38f Mon Sep 17 00:00:00 2001 From: Po Lu Date: Fri, 29 Jul 2022 14:52:31 +0800 Subject: [PATCH] Also update after buffer flip caused by flush_frame * src/xterm.c (x_flip_and_flush): Mark the end of a sync frame. --- src/xterm.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/xterm.c b/src/xterm.c index acdac92d94a..e9db4b364fb 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -6814,7 +6814,10 @@ x_flip_and_flush (struct frame *f) block_input (); #ifdef HAVE_XDBE if (FRAME_X_NEED_BUFFER_FLIP (f)) - show_back_buffer (f); + { + show_back_buffer (f); + x_sync_update_finish (f); + } #endif x_flush (f); unblock_input (); -- 2.39.2