]> git.eshelyaron.com Git - emacs.git/commit
Make mouse-related calls be more consistent on all frame types
authorJared Finder <jared@finder.org>
Wed, 2 Dec 2020 08:05:59 +0000 (00:05 -0800)
committerEli Zaretskii <eliz@gnu.org>
Sat, 16 Jan 2021 13:02:10 +0000 (15:02 +0200)
commitba29d13f41b777969a324894ba82646d36e1ff5c
tree6ee4776e3d6a8c18a48d42594ab66e45e3cf9961
parent0732fc31932c75c682c8b65b4dcb4376ca63e8fd
Make mouse-related calls be more consistent on all frame types

* src/frame.c (Fset_mouse_position, Fset_mouse_pixel_position): Call
Fselect_frame and appropriate mouse_moveto function on all non-GUI
frame types, independent of #ifdef's.
* src/term.c (init_tty): Initialize mouse_face_window for all
non-GUI frame types.
(term_mouse_moveto) [HAVE_GPM]: Make available even if
HAVE_WINDOW_SYSTEM is defined.
* src/xdisp.c (try_window_id): Call gui_clear_window_mouse_face
in all cases.
src/frame.c
src/term.c
src/termhooks.h
src/xdisp.c