Fix input focus lost after closing window
Also insert some debug messages.
This commit is contained in:
parent
2ad1a89db0
commit
84f0f0328b
4 changed files with 34 additions and 12 deletions
|
|
@ -152,7 +152,9 @@ The optional FORCE option is for internal use only."
|
|||
"Fix unexpected frame switch."
|
||||
(unless exwm-workspace--switch-lock
|
||||
(let ((index (cl-position (selected-frame) exwm-workspace--list)))
|
||||
(exwm--log "Focus on workspace %s" index)
|
||||
(when (and index (/= index exwm-workspace-current-index))
|
||||
(exwm--log "Workspace was switched unexpectedly")
|
||||
(exwm-workspace-switch index)))))
|
||||
|
||||
(defun exwm-workspace-move-window (index &optional id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue