Prevent duplicate keys in frameset-filter-alist

* exwm-workspace.el (exwm-workspace--init):
* exwm-randr.el (exwm-randr--init): Prevent duplicate keys in
frameset-filter-alist
This commit is contained in:
Adrián Medraño Calvo 2018-03-06 00:00:00 +00:00
parent dd0f10775a
commit 4660e040a0
2 changed files with 4 additions and 2 deletions

View file

@ -1555,7 +1555,8 @@ applied to all subsequently created X frames."
;; saved/restored.
(dolist (i '(exwm-active exwm-outer-id exwm-id exwm-container exwm-geometry
exwm-selected-window exwm-urgency fullscreen))
(push (cons i :never) frameset-filter-alist)))
(unless (assq i frameset-filter-alist)
(push (cons i :never) frameset-filter-alist))))
(defun exwm-workspace--exit ()
"Exit the workspace module."