diff --git a/exwm-input.el b/exwm-input.el index 8a9d089e2..f54c63071 100644 --- a/exwm-input.el +++ b/exwm-input.el @@ -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 ()