changeset 60205:3af3548ad26d

(tooltip-show-help-function): Pass event to mouse-on-link-p so it can check selected window.
author Kim F. Storm <storm@cua.dk>
date Tue, 22 Feb 2005 09:42:23 +0000
parents 074d6632232c
children 150efcb3a0d8
files lisp/tooltip.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/tooltip.el	Tue Feb 22 09:42:06 2005 +0000
+++ b/lisp/tooltip.el	Tue Feb 22 09:42:23 2005 +0000
@@ -488,7 +488,7 @@
 	     (setq pos (posn-at-x-y (car pos) (cdr pos) (car mp)))
 	     (windowp (posn-window pos)))
 	(with-current-buffer (window-buffer (posn-window pos))
-	  (if (mouse-on-link-p (posn-point pos))
+	  (if (mouse-on-link-p pos)
 	      (setq msg (concat
 		    (cond
 		     ((eq mouse-1-click-follows-link 'double) "double-")