diff options
author | Jared Finder <jared@finder.org> | 2025-01-06 20:52:11 -0800 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2025-01-11 12:47:46 +0200 |
commit | d018a26f9cfb29b166199e88ec6ee84d06733851 (patch) | |
tree | c4e7b356e07522dc557937340386c9190aa4cb0a /lisp/emacs-lisp/pcase.el | |
parent | 2f63dab3ee566f5794fac4139a8f8b8b9e250a00 (diff) | |
download | emacs-d018a26f9cfb29b166199e88ec6ee84d06733851.tar.gz emacs-d018a26f9cfb29b166199e88ec6ee84d06733851.tar.bz2 emacs-d018a26f9cfb29b166199e88ec6ee84d06733851.zip |
Support TTY child frames with GPM mouse
* lisp/frame.el (x-list-fonts): Delete `frame-at', to move to
C implementation.
* lisp/xt-mouse.el (xterm-mouse-event): Call new `tty-frame-at'.
* src/term.c (tty_frame_at, Ftty_frame_at): New C function,
replacing `frame-at' only for TTYs.
(term_mouse_position): Use last_mouse_frame when it is set.
(handle_one_term_event): Call tty_frame_at to get frame under
mouse, store it in last_mouse_frame. Alter event coordinates
based on mouse frame.
(syms_of_term): Add tty-frame-at, last_mouse_frame.
* src/termhooks.h: Make Gpm_Event parameter const.
Diffstat (limited to 'lisp/emacs-lisp/pcase.el')
0 files changed, 0 insertions, 0 deletions