]> git.eshelyaron.com Git - emacs.git/commit
Handle request serial wraparound more correctly
authorPo Lu <luangruo@yahoo.com>
Sat, 12 Nov 2022 10:52:36 +0000 (18:52 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 12 Nov 2022 11:01:30 +0000 (19:01 +0800)
commit2bac9d469398c0453e8026430e0f84a74a7b602f
tree295d51ffcfd62a45e6f1cf073d26c075906645ea
parent505e8c5b295bf3ae3b84fab82e224fad3d93a610
Handle request serial wraparound more correctly

* src/xterm.c (X_COMPARE_SERIALS): Remove macro.
(x_is_serial_more_than, x_is_serial_more_than_or_equal_to)
(x_is_serial_less_than, x_is_serial_less_than_or_equal_to): New
functions.
(x_find_error_handler, x_request_can_fail)
(x_clean_failable_requests, x_stop_ignoring_errors): Use those
functions to perform request serial comparison.
src/xterm.c