summaryrefslogtreecommitdiff
path: root/lisp/window.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/window.el')
-rw-r--r--lisp/window.el4
1 files changed, 0 insertions, 4 deletions
diff --git a/lisp/window.el b/lisp/window.el
index 41aa5aea06b..0f6ae8ab763 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -1019,10 +1019,6 @@ active. This function is run by `mouse-autoselect-window-timer'."
(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))))