* exwm-manage.el (exwm-manage--unmanage-window): Do not clear struts

when unmapping.
This commit is contained in:
Chris Feng 2016-08-12 19:25:14 +08:00
parent 8a438c2c17
commit e4ecd79210

View file

@ -307,7 +307,8 @@ manager is shutting down."
id buffer withdraw-only) id buffer withdraw-only)
(setq exwm--id-buffer-alist (assq-delete-all id exwm--id-buffer-alist)) (setq exwm--id-buffer-alist (assq-delete-all id exwm--id-buffer-alist))
;; Update workspaces when a dock is destroyed. ;; 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 (setq exwm-workspace--id-struts-alist
(assq-delete-all id exwm-workspace--id-struts-alist)) (assq-delete-all id exwm-workspace--id-struts-alist))
(exwm-workspace--update-struts) (exwm-workspace--update-struts)