Cleanup exwm-input on exit

* exwm-input.el (exwm-input--exit): Remove missing hook reset window
variable.
This commit is contained in:
Adrián Medraño Calvo 2018-03-06 00:00:00 +00:00
parent 4660e040a0
commit 81529c2e89

View file

@ -969,6 +969,7 @@ where both ORIGINAL-KEY and SIMULATED-KEY are key sequences."
(defun exwm-input--exit ()
"Exit the input module."
(exwm-input--unset-simulation-keys)
(remove-hook 'minibuffer-setup-hook #'exwm-input--on-minibuffer-setup)
(remove-hook 'pre-command-hook #'exwm-input--on-pre-command)
(remove-hook 'post-command-hook #'exwm-input--on-post-command)
(remove-hook 'buffer-list-update-hook #'exwm-input--on-buffer-list-update)