about summary refs log tree commit diff
path: root/exwm-workspace.el
diff options
context:
space:
mode:
authorAdrián Medraño Calvo <adrian@medranocalvo.com>2018-03-06T00·00+0000
committerAdrián Medraño Calvo <adrian@medranocalvo.com>2018-03-06T00·00+0000
commit4660e040a0a21de58e47b1b18900a4d277af888d (patch)
tree2859381aaa3231e730a29ae151e0a2e1b3cb6109 /exwm-workspace.el
parentdd0f10775a1893abe3b5c753e9db12d1397c2f6b (diff)
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
Diffstat (limited to 'exwm-workspace.el')
-rw-r--r--exwm-workspace.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/exwm-workspace.el b/exwm-workspace.el
index a99971904c37..f1ca8d594ed7 100644
--- a/exwm-workspace.el
+++ b/exwm-workspace.el
@@ -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."