From a1cf0d9b85e1d1d4f3b50a9d51980688b7b816df Mon Sep 17 00:00:00 2001 From: Chris Feng Date: Sun, 11 Aug 2019 00:00:00 +0000 Subject: [PATCH] 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. --- exwm-input.el | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/exwm-input.el b/exwm-input.el index ababbb6..2b421d0 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)