]> git.eshelyaron.com Git - emacs.git/commit
Enable canceling tap gestures
authorPo Lu <luangruo@yahoo.com>
Sat, 11 Nov 2023 10:03:33 +0000 (18:03 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 11 Nov 2023 10:04:00 +0000 (18:04 +0800)
commit68b8df57c720bb1a9fdde2c31afac9602e7491ed
tree398a99c308b5efd282a2d41316ffab0b1b9d18a0
parentf2b162f8ee5d93dafd87be34acef746e67d9ab26
Enable canceling tap gestures

* doc/lispref/commands.texi (Touchscreen Events): Relate new
THRESHOLD argument to touch-screen-track-tap.

* lisp/button.el (push-button):

* lisp/wid-edit.el (widget-button--check-and-call-button):
Provide a threshold to enable canceling button presses.

* lisp/touch-screen.el (touch-screen-track-tap): Enable
canceling tap gestures and resuming touch sequence translation
if the touch point exceeds a set threshold.
doc/lispref/commands.texi
lisp/button.el
lisp/touch-screen.el
lisp/wid-edit.el