mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
fix(workspaces): Improve reliability of desktop restore
Ignore some frame parameters which I don't care about being stored into the desktop file, and would rather have the values from the loaded config.
This commit is contained in:
@@ -20,6 +20,14 @@
|
||||
(desktop-path (list siren-dir))
|
||||
(desktop-restore-forces-onscreen nil)
|
||||
(desktop-save 'ask-if-new)
|
||||
(desktop-restore-frames t)
|
||||
|
||||
:config
|
||||
(push '(font . :never) frameset-filter-alist)
|
||||
(push '(fontsize . :never) frameset-filter-alist)
|
||||
(push '(fullscreen . :never) frameset-filter-alist)
|
||||
(push '(fullscreen-restore . :never) frameset-filter-alist)
|
||||
(push '(alpha . :never) frameset-filter-alist)
|
||||
|
||||
:init
|
||||
(defun siren-desktop-setup ()
|
||||
|
||||
Reference in New Issue
Block a user