1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-24 21:41:48 -08:00
emacs/doc
Po Lu 9ad601e7d7 Expose the ``cancellation'' of touch events to Lisp
* doc/lispref/commands.texi (Touchscreen Events):
* etc/NEWS: Describe new event parameter `canceled'.
* src/keyboard.c (make_lispy_event) <TOUCHSCREEN_END_EVENT>:
If event->modifiers, set canceled to t.

* src/termhooks.h (enum event_kind): Describe meaning of
modifiers in TOUCHSCREEN_END_EVENTs.
* src/xfns.c (setup_xi_event_mask): Select for
XI_TouchOwnership.
* src/xterm.c (xi_link_touch_point): Round X and Y and clear
ownership.
(xi_unlink_touch_point): Return 1 if the touch point is not
owned by Emacs, 2 otherwise.
(handle_one_xevent): Handle XI_TouchOwnership events and report
ownership correctly.
* src/xterm.h (enum xi_touch_ownership): New enum.  Write
commentary on XI touch sequence ownership.
(struct xi_touch_point_t): Use integer X and Y.  New field
`ownership'.  Adjust for alignment.
2023-07-18 09:28:14 +08:00
..
emacs Merge from origin/emacs-29 2023-07-15 05:30:28 -04:00
lispintro ; * doc/lispintro/emacs-lisp-intro.texi (car & cdr): Fix typo. 2023-06-25 08:27:01 +03:00
lispref Expose the ``cancellation'' of touch events to Lisp 2023-07-18 09:28:14 +08:00
man ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
misc Fix eshell.texi markup 2023-07-17 14:25:18 +02:00