diff options
author | Po Lu <luangruo@yahoo.com> | 2024-07-03 17:05:24 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2024-07-03 17:05:24 +0800 |
commit | 65bd41d1cf6d8ea6b95b69d9c60b0111a1c33392 (patch) | |
tree | bdb89527aa9335560b5e82e6656bb4c82bbb3efa /lisp/emacs-lisp | |
parent | 667ca66481c74325f3c8e4391d185ee547fdbb36 (diff) | |
download | emacs-65bd41d1cf6d8ea6b95b69d9c60b0111a1c33392.tar.gz emacs-65bd41d1cf6d8ea6b95b69d9c60b0111a1c33392.tar.bz2 emacs-65bd41d1cf6d8ea6b95b69d9c60b0111a1c33392.zip |
Adapt doc-view-set-slice-using-mouse to touch-screen input
* doc/lispref/commands.texi (Touchscreen Events): Document means
of unconditionally enabling simple conversion.
* lisp/doc-view.el (doc-view-set-slice-using-mouse): Bind
touch-screen-simple-mouse-conversion to t, and read translated
mouse events with read-key rather than read-event.
* lisp/subr.el (read-key): Don't permit idle timer to interfere
with reporting of translated mouse events.
* lisp/touch-screen.el (touch-screen-simple-mouse-conversion):
New variable.
(touch-screen-handle-point-up, touch-screen-handle-touch):
Unconditionally enable `mouse-drag' translation if set. Decide
whether to send drag or mouse events by the values of the two
touchpoints' XY positions and point and double-click-fuzz, as in
make_lispy_event.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions