]> git.eshelyaron.com Git - emacs.git/commit
Don't freeze if the compositing manager crashes
authorPo Lu <luangruo@yahoo.com>
Sat, 30 Jul 2022 01:40:00 +0000 (09:40 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 30 Jul 2022 01:40:00 +0000 (09:40 +0800)
commitaf152ffab15174838f11075248353ce66ace1635
treeb12f54446795a024de5b8c18f5adfd4f5bcbcaf3
parent4b5b447b7fab827c00fe97167b5c92c34b2f1ea3
Don't freeze if the compositing manager crashes

* src/xterm.c (x_if_event): New function, like XIfEvent but with
a timeout.
(x_sync_wait_for_frame_drawn_event): Disable frame
synchronization if x_if_event times out after 1 second.
src/xterm.c