changeset 7641:2db2ad2025c4

(popup-menu): Use mouse-pixel-position.
author Richard M. Stallman <rms@gnu.org>
date Mon, 23 May 1994 04:50:18 +0000
parents 9b1194796ef5
children 22f0d77ec290
files lisp/emacs-lisp/lmenu.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/lmenu.el	Mon May 23 03:15:35 1994 +0000
+++ b/lisp/emacs-lisp/lmenu.el	Mon May 23 04:50:18 1994 +0000
@@ -134,7 +134,7 @@
    menu		:=  '(' name [ menu-item | menu | text ]+ ')'
 "
   (let ((menu (make-lucid-menu-keymap (car menu-desc) (cdr menu-desc)))
-	(pos (mouse-position))
+	(pos (mouse-pixel-position))
 	answer)
     (while menu
       (setq answer (x-popup-menu (list (list (nth 1 pos) (nthcdr 2 pos))