diff options
author | Miles Bader <miles@gnu.org> | 2000-09-27 04:20:25 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 2000-09-27 04:20:25 +0000 |
commit | c5785b73db756450f020586cfad630aba8b0c9d5 (patch) | |
tree | 1f55d4a30bcf8aa13e946c794b1809b12dd1c89c /lisp/toolbar/tool-bar.el | |
parent | 6a70ef0d8173b57817bcc8a013eb86c8583e74fc (diff) | |
download | emacs-c5785b73db756450f020586cfad630aba8b0c9d5.tar.gz emacs-c5785b73db756450f020586cfad630aba8b0c9d5.tar.bz2 emacs-c5785b73db756450f020586cfad630aba8b0c9d5.zip |
(tool-bar-help): Use `mouse-pixel-position'.
Diffstat (limited to 'lisp/toolbar/tool-bar.el')
-rw-r--r-- | lisp/toolbar/tool-bar.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/toolbar/tool-bar.el b/lisp/toolbar/tool-bar.el index 9bb60e20829..004a0a372c8 100644 --- a/lisp/toolbar/tool-bar.el +++ b/lisp/toolbar/tool-bar.el @@ -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)) |