about summary refs log tree commit diff
diff options
context:
space:
mode:
-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)