mirror of
https://github.com/emacs-exwm/exwm.git
synced 2024-11-27 14:57:59 +01:00
Avoid entering line-mode after exit minibuffer
* exwm-input.el (exwm-input--on-pre-command): Keys should be forwarded to the X window (if its Emacs window is currently selected) after exiting the minibuffer.
This commit is contained in:
parent
b6d660042e
commit
02b1be7160
1 changed files with 2 additions and 1 deletions
|
@ -902,7 +902,8 @@ where both ORIGINAL-KEY and SIMULATED-KEY are key sequences."
|
||||||
|
|
||||||
(defun exwm-input--on-pre-command ()
|
(defun exwm-input--on-pre-command ()
|
||||||
"Run in `pre-command-hook'."
|
"Run in `pre-command-hook'."
|
||||||
(setq exwm-input--during-command t))
|
(unless (eq this-command #'exit-minibuffer)
|
||||||
|
(setq exwm-input--during-command t)))
|
||||||
|
|
||||||
(defun exwm-input--on-post-command ()
|
(defun exwm-input--on-post-command ()
|
||||||
"Run in `post-command-hook'."
|
"Run in `post-command-hook'."
|
||||||
|
|
Loading…
Reference in a new issue