about summary refs log tree commit diff
path: root/exwm-input.el
diff options
context:
space:
mode:
authorChris Feng <chris.w.feng@gmail.com>2016-07-12T12·08+0800
committerChris Feng <chris.w.feng@gmail.com>2016-07-12T12·08+0800
commiteee5c6fa4dd776c1604e5ec7db34bc5401d8dea6 (patch)
tree7feaff85fd6a3ef22cc136a7c3ff3ed9ac15d082 /exwm-input.el
parent650ed0013c3fac9e88328086d1f4a029f4fb7221 (diff)
* exwm-input.el (exwm-input--on-KeyPress-char-mode): No need to
force events to be added to `this-command-keys' (and it causes problems).
Diffstat (limited to 'exwm-input.el')
-rw-r--r--exwm-input.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/exwm-input.el b/exwm-input.el
index 2622253bae65..1c711b36c7f6 100644
--- a/exwm-input.el
+++ b/exwm-input.el
@@ -319,9 +319,7 @@ It's updated in several occasions, and only used by `exwm-input--set-focus'.")
           (setq exwm-input--temp-line-mode t
                 exwm-input--during-key-sequence t)
           (exwm-input--grab-keyboard))  ;grab keyboard temporarily
-        ;; Feed this event to command loop.  Also force it to be added to
-        ;; `this-command-keys'.
-        (push (cons t event) unread-command-events))))
+        (push event unread-command-events))))
   (xcb:+request exwm--connection
       (make-instance 'xcb:AllowEvents
                      :mode xcb:Allow:AsyncKeyboard