changeset 3420:08adfe96ca93

(mouse-buffer-menu): Don't select the event's window, if event has frame instead.
author Richard M. Stallman <rms@gnu.org>
date Tue, 01 Jun 1993 22:19:16 +0000
parents 97205883b02d
children 6cb1311434ba
files lisp/mouse.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mouse.el	Tue Jun 01 21:42:03 1993 +0000
+++ b/lisp/mouse.el	Tue Jun 01 22:19:16 1993 +0000
@@ -258,7 +258,7 @@
 	  (window (posn-window (event-start event))))
       (if buf
 	  (progn
-	    (select-window window)
+	    (or (framep window) (select-window window))
 	    (switch-to-buffer buf))))))
 
 ;;; These need to be rewritten for the new scroll bar implementation.