]> git.eshelyaron.com Git - emacs.git/commit
Face-changing text properties and help-echo now work with xterm-mouse.
authorJared Finder <jared@finder.org>
Sun, 1 Nov 2020 05:25:47 +0000 (21:25 -0800)
committerEli Zaretskii <eliz@gnu.org>
Sat, 14 Nov 2020 12:31:55 +0000 (14:31 +0200)
commit91d5edd9d10db30418cb32f5734d496d76ef56f3
tree3f21bae82386a7b9f976d483ef3b68cf387a9f0f
parent31f94e4b1c3dc201646ec436d3e2c477f784ed21
Face-changing text properties and help-echo now work with xterm-mouse.

* src/dispnew.c (update_mouse_position): New function for mouse
movement logic in 'handle_one_term_event' that can be shared across
different mouse backends.
(display--update-for-mouse-movement): New lisp function, call it.
* lisp/xt-mouse.el (xterm-mouse--handle-mouse-movement): New function
that calls 'display--update-for-mouse-movement'.
(xterm-mouse-translate-1): Call it.
* src/term.c (handle_one_term_event): Inline logic from
'term_mouse_movement' and call 'update_mouse_position'.
(term_mouse_movement): Delete.
lisp/xt-mouse.el
src/dispextern.h
src/dispnew.c
src/term.c