]> git.eshelyaron.com Git - emacs.git/commit
Fix reporting of imaginary key prefixes on toolkit tool and menu bars
authorPo Lu <luangruo@yahoo.com>
Wed, 2 Mar 2022 11:00:21 +0000 (19:00 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 2 Mar 2022 11:02:14 +0000 (19:02 +0800)
commit68e293c81d8ef687500969461067dc774353968f
treef44b99fa8f4da204e4f590040b5049a0aa947505
parent6d78321ce824ede11ab04d976d46487bcd191cab
Fix reporting of imaginary key prefixes on toolkit tool and menu bars

* src/keyboard.c (make_lispy_position): Set imaginary prefix if
the terminal says what widget the position is on top of.
* src/termhooks.h (struct terminal): New field
`toolkit_position_hook'.
* src/xterm.c (x_toolkit_position): New function.
(x_create_terminal): Register hook.
src/keyboard.c
src/termhooks.h
src/xterm.c