]> git.eshelyaron.com Git - emacs.git/commit
Prevent Lisp code or synthetic events from ruining the user time
authorPo Lu <luangruo@yahoo.com>
Sat, 18 Jun 2022 03:19:01 +0000 (11:19 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 18 Jun 2022 03:19:01 +0000 (11:19 +0800)
commit06576d6a16fa61f6f1d5031754145a92ab41aa9b
tree6470585be429ea768a90c7465c135bc08ece6956
parent95370484d4750717ea32a94a3785be3cd18b9427
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.
src/xterm.c