aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/window.el
diff options
context:
space:
mode:
authorMartin Rudalics <[email protected]>2007-10-12 06:29:24 +0000
committerMartin Rudalics <[email protected]>2007-10-12 06:29:24 +0000
commitd6c19bb35a2242b1eb0cef45a5a36d9ad52c5b23 (patch)
tree9113d957a708b95fbf5c486bc8a895589e681a2c /lisp/window.el
parent61bbdbc6f67fa0cc23a194af7aa2ab2cda63af76 (diff)
(handle-select-window): Revert part of 2007-10-06
change setting the input focus.
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 dd402750de..0626625ec8 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -925,10 +925,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))))