diff options
author | Po Lu <luangruo@yahoo.com> | 2023-01-17 18:28:37 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2023-01-17 18:30:40 +0800 |
commit | b9025c507a3a7dae4de19b18cafaa09b18183832 (patch) | |
tree | f4c8713acac5af7287a12b7f713611593747c441 /lisp/emacs-lisp/lisp-mode.el | |
parent | bb383a54910c3094e5d228e0af62bf70e36203ca (diff) | |
download | emacs-b9025c507a3a7dae4de19b18cafaa09b18183832.tar.gz emacs-b9025c507a3a7dae4de19b18cafaa09b18183832.tar.bz2 emacs-b9025c507a3a7dae4de19b18cafaa09b18183832.zip |
Correctly handle touches on the tool bar
* src/xterm.c (xi_link_touch_point): New argument `frame'. Set
new field `touchpoint->frame' to it.
(xi_unlink_touch_points): New function.
(xi_disable_devices): Clear the tool bar device on frames whose
tool bar device matches this field.
(handle_one_xevent): If an XI_TouchBegin event lands on the tool
bar, then simulate a pointer click. Ignore future events from
that touchpoint from there onwards.
(x_make_frame_invisible, x_free_frame_resources): Unlink touch
points associated with the frame.
* src/xterm.h (struct xi_touch_point_t): New field `frame'.
(struct x_output): New fields for keeping track of tool bar
touches.
Diffstat (limited to 'lisp/emacs-lisp/lisp-mode.el')
0 files changed, 0 insertions, 0 deletions