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:
parent
38c0a85155
commit
22f4404210
2 changed files with 30 additions and 22 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue