diff options
author | Po Lu <luangruo@yahoo.com> | 2022-06-18 11:19:01 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-06-18 11:19:01 +0800 |
commit | 06576d6a16fa61f6f1d5031754145a92ab41aa9b (patch) | |
tree | 6470585be429ea768a90c7465c135bc08ece6956 /lisp/emacs-lisp/lisp-mode.el | |
parent | 95370484d4750717ea32a94a3785be3cd18b9427 (diff) | |
download | emacs-06576d6a16fa61f6f1d5031754145a92ab41aa9b.tar.gz emacs-06576d6a16fa61f6f1d5031754145a92ab41aa9b.tar.bz2 emacs-06576d6a16fa61f6f1d5031754145a92ab41aa9b.zip |
Prevent Lisp code or synthetic events from ruining the user time
* src/xterm.c (x_display_set_last_user_time): New parameter
`send_event'. Make sure user time is newer unless !send_event.
(x_set_last_user_time_from_lisp): Remove redundant check.
(XTmouse_position):
(handle_one_xevent): Pass `send_event' whenever appropriate.
Diffstat (limited to 'lisp/emacs-lisp/lisp-mode.el')
0 files changed, 0 insertions, 0 deletions