From: Martin Rudalics Date: Fri, 12 Oct 2007 06:29:24 +0000 (+0000) Subject: (handle-select-window): Revert part of 2007-10-06 X-Git-Tag: emacs-pretest-22.1.90~628 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d6c19bb35a2242b1eb0cef45a5a36d9ad52c5b23;p=emacs.git (handle-select-window): Revert part of 2007-10-06 change setting the input focus. --- 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))))