[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/exwm a1cf0d9 3/4: Avoid checking `*temp*' buffers

From: Chris Feng
Subject: [elpa] externals/exwm a1cf0d9 3/4: Avoid checking `*temp*' buffers
Date: Sun, 11 Aug 2019 12:24:59 -0400 (EDT)

branch: externals/exwm
commit a1cf0d9b85e1d1d4f3b50a9d51980688b7b816df
Author: Chris Feng <address@hidden>
Commit: Chris Feng <address@hidden>

    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)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]