about summary refs log tree commit diff
path: root/exwm-input.el
diff options
context:
space:
mode:
authorChris Feng <chris.w.feng@gmail.com>2019-10-27T00·00+0000
committerChris Feng <chris.w.feng@gmail.com>2019-10-27T00·00+0000
commit1772b984522c800b1ecd02a5f7fd2b44ce15f3de (patch)
tree58d0ef72a68a796345fb868348e13b6eb5726c8f /exwm-input.el
parent3c8b39505825eff7e2b61e09833374d904926724 (diff)
Loosen the requirements for input focus update
* exwm-input.el (exwm-input--on-buffer-list-update): No more check
on current buffer (the check on buffer name was dropped in a1cf0d9b8).
Diffstat (limited to 'exwm-input.el')
-rw-r--r--exwm-input.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/exwm-input.el b/exwm-input.el
index 34fe2221b744..da242e9a6af9 100644
--- a/exwm-input.el
+++ b/exwm-input.el
@@ -278,8 +278,7 @@ ARGS are additional arguments to CALLBACK."
   "Run in `buffer-list-update-hook' to track input focus."
   (when (and (not (eq this-command #'handle-switch-frame))
              (not exwm-input--skip-buffer-list-update)
-             (not (exwm-workspace--client-p))
-             (eq (current-buffer) (window-buffer)))
+             (not (exwm-workspace--client-p)))
     (exwm--log "current-buffer=%S selected-window=%S"
                (current-buffer) (selected-window))
     (redirect-frame-focus (selected-frame) nil)