]> git.eshelyaron.com Git - emacs.git/commit
Fix click position to menu bar entry with no-toolkit
authorManuel Giraud <manuel@ledu-giraud.fr>
Fri, 18 Nov 2022 08:24:55 +0000 (09:24 +0100)
committerPo Lu <luangruo@yahoo.com>
Sat, 19 Nov 2022 00:22:45 +0000 (08:22 +0800)
commit409f0430b6a0c138836e5067141bf6b2a7beb6b3
tree82d640332b147300ba19be2565ba4296113d1917
parent87fce324c6bd135532958b1ad1496a3da67b7936
Fix click position to menu bar entry with no-toolkit

* src/keyboard.c (make_lispy_event): Use x_y_to_hpos_vpos to
compute correct menu bar position should the menu face change.
* src/xdisp.c (x_y_to_hpos_vpos): Not static anymore.
* src/dispextern.h: Export x_y_to_hpos_vpos.
src/dispextern.h
src/keyboard.c
src/xdisp.c