Commit d6c19bb3 authored by Martin Rudalics's avatar Martin Rudalics
Browse files

(handle-select-window): Revert part of 2007-10-06

change setting the input focus.
parent 61bbdbc6
2007-10-12 Martin Rudalics <rudalics@gmx.at>
* window.el (handle-select-window): Revert part of 2007-10-06
change setting the input focus.
2007-10-12 Glenn Morris <rgm@gnu.org>
 
* cus-edit.el (custom-variable-menu, custom-face-menu)
......@@ -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))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment