[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/exwm 4660e04 01/14: Prevent duplicate keys in frameset-
From: |
Chris Feng |
Subject: |
[elpa] externals/exwm 4660e04 01/14: Prevent duplicate keys in frameset-filter-alist |
Date: |
Thu, 8 Mar 2018 12:08:05 -0500 (EST) |
branch: externals/exwm
commit 4660e040a0a21de58e47b1b18900a4d277af888d
Author: Adrián Medraño Calvo <address@hidden>
Commit: Adrián Medraño Calvo <address@hidden>
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
---
exwm-randr.el | 3 ++-
exwm-workspace.el | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/exwm-randr.el b/exwm-randr.el
index c1d2bf5..37f40f1 100644
--- a/exwm-randr.el
+++ b/exwm-randr.el
@@ -210,7 +210,8 @@ the first one in result being the primary output."
;; Prevent frame parameters introduced by this module from being
;; saved/restored.
(dolist (i '(exwm-randr-output))
- (push (cons i :never) frameset-filter-alist)))
+ (unless (assq i frameset-filter-alist)
+ (push (cons i :never) frameset-filter-alist))))
(defun exwm-randr--exit ()
"Exit the RandR module."
diff --git a/exwm-workspace.el b/exwm-workspace.el
index a999719..f1ca8d5 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."
- [elpa] externals/exwm updated (dd0f107 -> 2f430db), Chris Feng, 2018/03/08
- [elpa] externals/exwm 4660e04 01/14: Prevent duplicate keys in frameset-filter-alist,
Chris Feng <=
- [elpa] externals/exwm c00331a 03/14: Cleanup exwm-layout on exit, Chris Feng, 2018/03/08
- [elpa] externals/exwm d3be64e 05/14: Factor out `exwm-randr--on-ScreenChangeNotify', Chris Feng, 2018/03/08
- [elpa] externals/exwm 4f7abf4 04/14: Cleanup exwm-manage on exit, Chris Feng, 2018/03/08
- [elpa] externals/exwm a2b6cfb 08/14: * exwm.el (exwm--exit): Drop SubstructureRedirect on root window., Chris Feng, 2018/03/08
- [elpa] externals/exwm 81529c2 02/14: Cleanup exwm-input on exit, Chris Feng, 2018/03/08
- [elpa] externals/exwm ce8af83 09/14: Disconnect on `exwm--exit', Chris Feng, 2018/03/08
- [elpa] externals/exwm 350950a 12/14: Clean up when failing to start, Chris Feng, 2018/03/08
- [elpa] externals/exwm a51be88 07/14: Cleanup exwm-workspace on exit, Chris Feng, 2018/03/08
- [elpa] externals/exwm cf98e3d 11/14: Name all helper windows created by EXWM, Chris Feng, 2018/03/08
- [elpa] externals/exwm 587a8ca 10/14: Add interactive commands for starting and stopping EXWM, Chris Feng, 2018/03/08