mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-27 10:54:40 +00:00
(handle-select-window): Revert part of 2007-10-08
change setting the input focus.
This commit is contained in:
parent
1663d0b8f8
commit
af84194a20
@ -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):
|
||||
|
@ -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))))
|
||||
|
Loading…
Reference in New Issue
Block a user