Close the (possible) active minibuffer when switching workspace
* exwm-workspace.el (exwm-workspace-switch): An active minibuffer on another workspace might cause problems for input. Closing it should be sufficient.
This commit is contained in:
parent
e70c6fad56
commit
463d0da411
1 changed files with 2 additions and 0 deletions
|
@ -138,6 +138,8 @@ The optional FORCE option is for internal use only."
|
||||||
(setq x (/ w 2)
|
(setq x (/ w 2)
|
||||||
y (/ h 2)))
|
y (/ h 2)))
|
||||||
(set-mouse-pixel-position frame x y)))
|
(set-mouse-pixel-position frame x y)))
|
||||||
|
;; Close the (possible) active minibuffer
|
||||||
|
(when (active-minibuffer-window) (abort-recursive-edit))
|
||||||
(setq default-minibuffer-frame frame)
|
(setq default-minibuffer-frame frame)
|
||||||
;; Hide windows in other workspaces by preprending a space
|
;; Hide windows in other workspaces by preprending a space
|
||||||
(unless exwm-workspace-show-all-buffers
|
(unless exwm-workspace-show-all-buffers
|
||||||
|
|
Loading…
Reference in a new issue