From 1772b984522c800b1ecd02a5f7fd2b44ce15f3de Mon Sep 17 00:00:00 2001 From: Chris Feng Date: Sun, 27 Oct 2019 00:00:00 +0000 Subject: [PATCH] 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). --- exwm-input.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/exwm-input.el b/exwm-input.el index 34fe222..da242e9 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)