mirror of
https://github.com/emacs-exwm/exwm.git
synced 2024-11-30 16:07:59 +01:00
; * exwm-workspace.el (exwm-workspace-switch): Input focus should be set
; on the frame where the target window resides.
This commit is contained in:
parent
a9b775638d
commit
8061e93878
1 changed files with 1 additions and 1 deletions
|
@ -463,7 +463,7 @@ The optional FORCE option is for internal use only."
|
||||||
(set-frame-parameter (buffer-local-value 'exwm--frame (window-buffer))
|
(set-frame-parameter (buffer-local-value 'exwm--frame (window-buffer))
|
||||||
'exwm-selected-window (selected-window)))
|
'exwm-selected-window (selected-window)))
|
||||||
(select-window window)
|
(select-window window)
|
||||||
(x-focus-frame frame) ;essential for transferring input focus
|
(x-focus-frame (window-frame window)) ;The real input focus.
|
||||||
(set-frame-parameter frame 'exwm-selected-window nil)
|
(set-frame-parameter frame 'exwm-selected-window nil)
|
||||||
;; Close the (possible) active minibuffer
|
;; Close the (possible) active minibuffer
|
||||||
(when (active-minibuffer-window)
|
(when (active-minibuffer-window)
|
||||||
|
|
Loading…
Reference in a new issue