changeset 79045:6bdc5346c3fa

(handle-select-window): Revert part of 2007-10-06 change setting the input focus.
author Martin Rudalics <rudalics@gmx.at>
date Fri, 12 Oct 2007 06:25:55 +0000
parents 1e46ed6c2e24
children b6e3d428482d
files lisp/window.el
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/window.el	Fri Oct 12 04:52:52 2007 +0000
+++ b/lisp/window.el	Fri Oct 12 06:25:55 2007 +0000
@@ -925,10 +925,6 @@
       (when mouse-autoselect-window
 	;; Reset state of delayed autoselection.
 	(setq mouse-autoselect-window-state nil)
-	;; Set input focus to handle cross-frame movement.  Bind
-	;; `focus-follows-mouse' to avoid moving the mouse cursor.
-	(let (focus-follows-mouse)
-	  (select-frame-set-input-focus (window-frame window)))
 	;; Run `mouse-leave-buffer-hook' when autoselecting window.
 	(run-hooks 'mouse-leave-buffer-hook))
       (select-window window))))