mirror of
https://github.com/emacs-exwm/exwm.git
synced 2024-11-23 21:17:59 +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))
|
(when (and (not (eq this-command #'handle-switch-frame))
|
||||||
(not exwm-input--skip-buffer-list-update)
|
(not exwm-input--skip-buffer-list-update)
|
||||||
(not (exwm-workspace--client-p))
|
(not (exwm-workspace--client-p))
|
||||||
;; The following conditions filter out events relating to temp
|
(eq (current-buffer) (window-buffer)))
|
||||||
;; buffers.
|
|
||||||
(eq (current-buffer) (window-buffer))
|
|
||||||
(not (string-prefix-p " *temp*"
|
|
||||||
(buffer-name (car (last (buffer-list)))))))
|
|
||||||
(exwm--log "current-buffer=%S selected-window=%S"
|
(exwm--log "current-buffer=%S selected-window=%S"
|
||||||
(current-buffer) (selected-window))
|
(current-buffer) (selected-window))
|
||||||
(redirect-frame-focus (selected-frame) nil)
|
(redirect-frame-focus (selected-frame) nil)
|
||||||
|
|
Loading…
Reference in a new issue