]> git.eshelyaron.com Git - emacs.git/commit
Reduce some unnecessary X calls.
authorKen Raeburn <raeburn@raeburn.org>
Sun, 4 Oct 2015 13:54:44 +0000 (09:54 -0400)
committerKen Raeburn <raeburn@raeburn.org>
Thu, 8 Oct 2015 05:44:43 +0000 (01:44 -0400)
commitee529429775037fb2d9e78e7c86db21d7b3f4bdd
tree2e7de8391a1ad1f3677abdcbd946d675510ae85a
parente23ed19ff933c35111f3a806b4104fee8ef42f55
Reduce some unnecessary X calls.

* src/xfns.c (x_real_pos_and_offsets): Remove a redundant XGetGeometry
call.  If border width is wanted, get it from the XGetGeometry call
instead of calling XGetWindowAttributes on the same window.  Skip some
X calls if we've already detected an error from the X server.
* src/xterm.c (x_wm_supports): Delete x_sync before x_had_errors_p.
(handle_one_xevent): Delete XSync call before x_uncatch_errors.
src/xfns.c
src/xterm.c