diff options
author | Chris Feng <chris.w.feng@gmail.com> | 2015-10-28T02·37+0800 |
---|---|---|
committer | Chris Feng <chris.w.feng@gmail.com> | 2015-10-28T02·37+0800 |
commit | 11cc84d77e83b81fce8d3032df29d798546648e7 (patch) | |
tree | c6cbedfaa2b69a199c0ba11204d04e2f2c1caa25 /exwm-input.el | |
parent | ba536bb6e354577cd69926865aee0e6f90f7306a (diff) |
Minor input focus fix
* exwm-input.el (exwm-input--on-buffer-list-update): Schedule input focus switch with idle timer.
Diffstat (limited to 'exwm-input.el')
-rw-r--r-- | exwm-input.el | 2 |
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 () |