Do not switch to other window when minibuffer is selected
* lisp/window.el (handle-select-window): Do not silently switch to other window when minibuffer is selected and mouse-autoselect-window is t (Bug#47969).
This commit is contained in:
parent
3e7a216b77
commit
e365e903db
1 changed files with 3 additions and 0 deletions
|
@ -10055,6 +10055,9 @@ is active. This function is run by `mouse-autoselect-window-timer'."
|
|||
;; already selected.
|
||||
(and (not (eq frame (selected-frame)))
|
||||
(frame-parameter frame 'no-accept-focus))
|
||||
;; Don't switch if window autoselection with mouse is active
|
||||
;; and minibuffer window is selected.
|
||||
(and mouse-autoselect-window (window-minibuffer-p))
|
||||
;; Don't switch to minibuffer window unless it's active.
|
||||
(and (window-minibuffer-p window)
|
||||
(not (minibuffer-window-active-p window))))
|
||||
|
|
Loading…
Add table
Reference in a new issue