]> git.eshelyaron.com Git - emacs.git/commitdiff
(handle-select-window): Revert part of 2007-10-08
authorMartin Rudalics <rudalics@gmx.at>
Fri, 12 Oct 2007 06:23:43 +0000 (06:23 +0000)
committerMartin Rudalics <rudalics@gmx.at>
Fri, 12 Oct 2007 06:23:43 +0000 (06:23 +0000)
change setting the input focus.

lisp/ChangeLog
lisp/window.el

index 2fed711f6d742d65ecf57d42703ca9fd54b2a1d2..8c07699c823cf4f3f38220569cb0a3cc2f903c46 100644 (file)
@@ -1,3 +1,8 @@
+2007-10-12  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (handle-select-window): Revert part of 2007-10-08
+       change setting the input focus.
+
 2007-10-12  Glenn Morris  <rgm@gnu.org>
 
        * emacs-lisp/byte-opt.el (top level):
index 41aa5aea06b8d58b1b60f88e3875a457debce356..0f6ae8ab7634ab2b62326d49f8c1ae0951ade249 100644 (file)
@@ -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))))