mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
feature/workspace: improve daemon/frame compatibility
This update fixes issues with frame-local perspectives, and ensures that a workspace is always selected in a daemon session's frames.
This commit is contained in:
@ -468,8 +468,10 @@ created."
|
||||
"Create a blank, new perspective and associate it with FRAME."
|
||||
(when persp-mode
|
||||
(with-selected-frame frame
|
||||
(+workspace/new)
|
||||
(set-frame-parameter frame 'workspace (+workspace-current-name))
|
||||
(if (not (persp-frame-list-without-daemon))
|
||||
(+workspace-switch +workspaces-main t)
|
||||
(+workspace/new)
|
||||
(set-frame-parameter frame 'workspace (+workspace-current-name)))
|
||||
(+workspace/display))))
|
||||
|
||||
(defvar +workspaces--project-dir nil)
|
||||
|
Reference in New Issue
Block a user