From e4ecd792103c33e03ef9ff590d9c8e6b86431efd Mon Sep 17 00:00:00 2001 From: Chris Feng Date: Fri, 12 Aug 2016 19:25:14 +0800 Subject: [PATCH] * exwm-manage.el (exwm-manage--unmanage-window): Do not clear struts when unmapping. --- exwm-manage.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/exwm-manage.el b/exwm-manage.el index 2ec21b3..60ff2e2 100644 --- a/exwm-manage.el +++ b/exwm-manage.el @@ -307,7 +307,8 @@ manager is shutting down." id buffer withdraw-only) (setq exwm--id-buffer-alist (assq-delete-all id exwm--id-buffer-alist)) ;; Update workspaces when a dock is destroyed. - (when (assq id exwm-workspace--id-struts-alist) + (when (and (null withdraw-only) + (assq id exwm-workspace--id-struts-alist)) (setq exwm-workspace--id-struts-alist (assq-delete-all id exwm-workspace--id-struts-alist)) (exwm-workspace--update-struts)