about summary refs log tree commit diff
path: root/exwm-input.el
diff options
context:
space:
mode:
authorAdrián Medraño Calvo <adrian@medranocalvo.com>2018-03-06T00·00+0000
committerAdrián Medraño Calvo <adrian@medranocalvo.com>2018-03-06T00·00+0000
commit81529c2e89e1a9ea757428d47de2a65211095d45 (patch)
tree970ab05dedd4c2c02dab0cbcb20ffda6d5efafb3 /exwm-input.el
parent4660e040a0a21de58e47b1b18900a4d277af888d (diff)
Cleanup exwm-input on exit
* exwm-input.el (exwm-input--exit): Remove missing hook reset window
variable.
Diffstat (limited to 'exwm-input.el')
-rw-r--r--exwm-input.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/exwm-input.el b/exwm-input.el
index ee44624508cf..d194b53821b4 100644
--- a/exwm-input.el
+++ b/exwm-input.el
@@ -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)