diff options
author | Chris Feng <chris.w.feng@gmail.com> | 2019-08-11T00·00+0000 |
---|---|---|
committer | Chris Feng <chris.w.feng@gmail.com> | 2019-08-11T00·00+0000 |
commit | a1cf0d9b85e1d1d4f3b50a9d51980688b7b816df (patch) | |
tree | 0cd2649dee43eb1253560b2692c739b133711a2b | |
parent | 1f2bd54c117b3eeb88b6af1e8627030f00e37898 (diff) |
Avoid checking `*temp*' buffers
* exwm-input.el (exwm-input--on-buffer-list-update): The way of detecting a switch from a `*temp*' buffer does not always work. Disable it until we find a better way.
-rw-r--r-- | exwm-input.el | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/exwm-input.el b/exwm-input.el index ababbb6e78c8..2b421d02b6ff 100644 --- a/exwm-input.el +++ b/exwm-input.el @@ -277,11 +277,7 @@ ARGS are additional arguments to CALLBACK." (when (and (not (eq this-command #'handle-switch-frame)) (not exwm-input--skip-buffer-list-update) (not (exwm-workspace--client-p)) - ;; The following conditions filter out events relating to temp - ;; buffers. - (eq (current-buffer) (window-buffer)) - (not (string-prefix-p " *temp*" - (buffer-name (car (last (buffer-list))))))) + (eq (current-buffer) (window-buffer))) (exwm--log "current-buffer=%S selected-window=%S" (current-buffer) (selected-window)) (redirect-frame-focus (selected-frame) nil) |