mirror of
https://github.com/emacs-exwm/exwm.git
synced 2024-11-23 21:17:59 +01:00
Minor input focus fix
* exwm-input.el (exwm-input--on-buffer-list-update): Schedule input focus switch with idle timer.
This commit is contained in:
parent
ba536bb6e3
commit
11cc84d77e
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ It's updated in several occasions, and only used by `exwm-input--set-focus'.")
|
|||
(setq exwm-input--focus-window window)
|
||||
(when exwm-input--timer (cancel-timer exwm-input--timer))
|
||||
(setq exwm-input--timer
|
||||
(run-with-timer 0.01 nil #'exwm-input--update-focus)))
|
||||
(run-with-idle-timer 0.01 nil #'exwm-input--update-focus)))
|
||||
(setq exwm-input--redirected nil))))
|
||||
|
||||
(defun exwm-input--on-focus-in ()
|
||||
|
|
Loading…
Reference in a new issue