1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-05 22:20:24 -08:00
emacs/doc
Po Lu 65bd41d1cf 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.
2024-07-03 17:05:24 +08:00
..
emacs More updates of documentation for Emacs 30 2024-06-30 22:25:31 +03:00
lispintro ; * doc/lispintro/emacs-lisp-intro.texi (nthcdr): Whitespace (bug#71033). 2024-05-18 14:38:29 +03:00
lispref Adapt doc-view-set-slice-using-mouse to touch-screen input 2024-07-03 17:05:24 +08:00
man Add before-save-hook to man page files 2024-06-22 16:56:12 +02:00
misc Merge from savannah/emacs-30 2024-06-30 10:06:09 +08:00
translations ; Fix typos 2024-06-07 23:51:18 +02:00