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