]> git.eshelyaron.com Git - emacs.git/commitdiff
Also update after buffer flip caused by flush_frame
authorPo Lu <luangruo@yahoo.com>
Fri, 29 Jul 2022 06:52:31 +0000 (14:52 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 29 Jul 2022 06:54:55 +0000 (14:54 +0800)
* src/xterm.c (x_flip_and_flush): Mark the end of a sync frame.

src/xterm.c

index acdac92d94a784bae655d6ef52b81d4c3e05831b..e9db4b364fbe7e90b721bdedbbb5d111d079b17c 100644 (file)
@@ -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 ();