]> git.eshelyaron.com Git - emacs.git/commit
Don't take XCB socket every time we want the no of the next request
authorPo Lu <luangruo@yahoo.com>
Tue, 5 Jul 2022 03:03:11 +0000 (11:03 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 5 Jul 2022 03:05:21 +0000 (11:05 +0800)
commitb4d766fba5a9ccfe7262af9032e9e2b84a3370c4
tree6091f31366407a2c2b788fb94432d353b845cc85
parent3534426b28b9118e32cabe16810f16ef915f0dbd
Don't take XCB socket every time we want the no of the next request

* src/xterm.c (x_ignore_errors_for_next_request, x_uncatch_errors)
(x_check_errors, x_had_errors_p): Don't call XNextRequest
redundantly.  Use NextRequest if it was immediately preceded by
XNextRequest, which updates dpy->request.
src/xterm.c