From: Po Lu Date: Fri, 29 Jul 2022 06:52:31 +0000 (+0800) Subject: Also update after buffer flip caused by flush_frame X-Git-Tag: emacs-29.0.90~1447^2~676 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=77882158b2aeff7f235c409d6572173ae4c3a38f;p=emacs.git Also update after buffer flip caused by flush_frame * src/xterm.c (x_flip_and_flush): Mark the end of a sync frame. --- 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 ();