mirror of
https://github.com/ch11ng/exwm.git
synced 2024-11-23 11:47:58 +01:00
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.
This commit is contained in:
parent
1f2bd54c11
commit
a1cf0d9b85
1 changed files with 1 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue