From af84194a20f63b9ac08f35fd02d6d8a41f883729 Mon Sep 17 00:00:00 2001 From: Martin Rudalics Date: Fri, 12 Oct 2007 06:23:43 +0000 Subject: [PATCH] (handle-select-window): Revert part of 2007-10-08 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 2fed711f6d7..8c07699c823 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-08 + change setting the input focus. + 2007-10-12 Glenn Morris * emacs-lisp/byte-opt.el (top level): 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)))) -- 2.39.5