]> git.eshelyaron.com Git - emacs.git/commit
Make frame synchronization more robust
authorPo Lu <luangruo@yahoo.com>
Sun, 27 Nov 2022 11:17:38 +0000 (19:17 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 27 Nov 2022 11:21:03 +0000 (19:21 +0800)
commit80bfd6dc5bc3738db595a4972893b149b1224800
treea1a8022a247da2ca43dfb163210ae01bbfe2802d
parentea2f2f1e71188a4b0ff3fa390914d8ca23deacb9
Make frame synchronization more robust

* src/xterm.c (x_sync_wait_for_frame_drawn_event)
(x_sync_handle_frame_drawn): Only cancel frame synchronization
if hanging twice or more in a row.
* src/xterm.h (struct x_output, FRAME_X_DRAW_JUST_HUNG): New
flag.
src/xterm.c
src/xterm.h