]> git.eshelyaron.com Git - emacs.git/commit
Fix various problems with mouse highlight on XI2 builds
authorPo Lu <luangruo@yahoo.com>
Thu, 25 Aug 2022 04:24:34 +0000 (12:24 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 25 Aug 2022 04:24:34 +0000 (12:24 +0800)
commit34686263b7459f78fd1e6d68dc1aa9c8644876b3
treebda09d8cb411f467ee293ef06cdce48f5aa46180
parentbc8141594d67fcb95dc58e031d811aee0dbf96e0
Fix various problems with mouse highlight on XI2 builds

* src/dispextern.h (reset_mouse_highlight): Fix coding style.
* src/xterm.c (xi_position_changed): New functions.
(xi_report_motion_window_clear, handle_one_xevent): Don't report
motion events if the pixel position did not actually change.

* src/xterm.h (struct xi_device_t): New fields
`last_motion_window', `last_motion_x' and `last_motion_y'.
src/dispextern.h
src/xterm.c
src/xterm.h