about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--exwm-input.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/exwm-input.el b/exwm-input.el
index 8a9d089e2f5b..f54c6307106b 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 ()