mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(tool-bar-help): Use `mouse-pixel-position'.
This commit is contained in:
parent
6a70ef0d81
commit
c5785b73db
2 changed files with 5 additions and 1 deletions
|
|
@ -155,7 +155,7 @@ PROPS is a list of additional properties to add to the binding."
|
|||
(defun tool-bar-help ()
|
||||
"Pop up the help menu from the tool-bar."
|
||||
(interactive)
|
||||
(let* ((p (mouse-position))
|
||||
(let* ((p (mouse-pixel-position))
|
||||
(menu menu-bar-help-menu)
|
||||
(selection (x-popup-menu (list (list (cadr p) (cddr p)) (car p))
|
||||
menu))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue