]> git.eshelyaron.com Git - emacs.git/commit
Apply root window coordinate optimizations to crossing events as well
authorPo Lu <luangruo@yahoo.com>
Wed, 28 Sep 2022 12:33:24 +0000 (20:33 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 28 Sep 2022 12:36:17 +0000 (20:36 +0800)
commit5f7d9a1a9f9ac2b57cd84da6a1bd460b3111562b
tree7b032738d4f034d9505ca2f10a0e69b0b598ac53
parent9f32e6dea15c7167c794658a56c7c0861dd6dedd
Apply root window coordinate optimizations to crossing events as well

* src/xterm.c (xi_compute_root_window_offset_enter): New
function.
(handle_one_xevent): Apply root window crossing optimizations to
XI_Enter and XI_Leave events too.  Not strictly necessary but
since we apply them to motion events it would be consistent to
apply them to crossing events as well as recommended by the
ICCCM.
src/xterm.c