Cleanup exwm-manage on exit

* exwm-manage.el (exwm-manage--unmanage-window): Map windows when
quitting.
(exwm-manage--exit): Remap all windows.

* exwm.el (exwm--exit): Reorder deinitialization sequence so that
windows are reparented before the workspaces are removed.
This commit is contained in:
Adrián Medraño Calvo 2018-03-06 00:00:00 +00:00
parent c00331a7e6
commit 4f7abf4bfd
2 changed files with 12 additions and 3 deletions

View file

@ -739,8 +739,8 @@
(run-hooks 'exwm-exit-hook)
;; Exit modules.
(exwm-input--exit)
(exwm-workspace--exit)
(exwm-manage--exit)
(exwm-workspace--exit)
(exwm-floating--exit)
(exwm-layout--exit)
(exwm--exit-icccm-ewmh))