From d6c19bb35a2242b1eb0cef45a5a36d9ad52c5b23 Mon Sep 17 00:00:00 2001 From: Martin Rudalics Date: Fri, 12 Oct 2007 06:29:24 +0000 Subject: [PATCH] (handle-select-window): Revert part of 2007-10-06 change setting the input focus. --- lisp/ChangeLog | 5 +++++ lisp/window.el | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1cfef0ed731..9fd351ce200 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2007-10-12 Martin Rudalics + + * window.el (handle-select-window): Revert part of 2007-10-06 + change setting the input focus. + 2007-10-12 Glenn Morris * cus-edit.el (custom-variable-menu, custom-face-menu) diff --git a/lisp/window.el b/lisp/window.el index dd402750de4..0626625ec86 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)))) -- 2.39.2