Ensure non-dedicated window is active on workspace creation
Otherwise, workspaces are left in a broken state where they only contain dedicated/side-windows, which Emacs can't handle well. Indirectly fixes #1492
This commit is contained in:
parent
7ce4a25e1e
commit
80958c0c17
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ Otherwise return t on success, nil otherwise."
|
|||
(save-window-excursion
|
||||
(let ((ignore-window-parameters t)
|
||||
(+popup--inhibit-transient t))
|
||||
(delete-other-windows))
|
||||
(persp-delete-other-windows))
|
||||
(switch-to-buffer (doom-fallback-buffer))
|
||||
(setf (persp-window-conf persp)
|
||||
(funcall persp-window-state-get-function (selected-frame))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue