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:
2020-08-19 00:43:07 +01:00
parent 67498da953
commit 4fbf607950

View File

@@ -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 ()