changeset 85189:2accf461be62

(handle-select-window): Revert part of 2007-10-08 change setting the input focus.
author Martin Rudalics <rudalics@gmx.at>
date Fri, 12 Oct 2007 06:23:07 +0000
parents ee803fed3919
children 90d28252bb54
files lisp/window.el
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/window.el	Fri Oct 12 03:07:02 2007 +0000
+++ b/lisp/window.el	Fri Oct 12 06:23:07 2007 +0000
@@ -1019,10 +1019,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))))