mirror of
https://github.com/ch11ng/exwm.git
synced 2024-11-30 14:38:00 +01:00
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
).
This commit is contained in:
parent
3c8b395058
commit
1772b98452
1 changed files with 1 additions and 2 deletions
|
@ -278,8 +278,7 @@ ARGS are additional arguments to CALLBACK."
|
||||||
"Run in `buffer-list-update-hook' to track input focus."
|
"Run in `buffer-list-update-hook' to track input focus."
|
||||||
(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)))
|
||||||
(eq (current-buffer) (window-buffer)))
|
|
||||||
(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