mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -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))))
|
||||
|
Reference in New Issue
Block a user