]> git.eshelyaron.com Git - emacs.git/commit
Allow interacting with the tab line from a touch screen
authorPo Lu <luangruo@yahoo.com>
Thu, 18 May 2023 08:09:00 +0000 (16:09 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 18 May 2023 08:09:00 +0000 (16:09 +0800)
commitfdc0bf25b2a608625c6292c723ef40ad8e6ed76a
tree9bedf76ab6854cf8bfa3dee6a25389e3cb2e8067
parent074c0268fd32d6527e124cff386bb6b15cf90017
Allow interacting with the tab line from a touch screen

* doc/emacs/frames.texi (Tab Bars): Explain how to interact with
the tab bar from a touch screen.
* doc/emacs/input.texi (Touchscreens): Document exactly what a
``long press'' is.
* doc/emacs/windows.texi (Tab Line): Likewise.
* lisp/tab-line.el (tab-line-tab-map, tab-line-add-map)
(tab-line-tab-close-map, tab-line-left-map, tab-line-right-map):
Bind `touchscreen-begin' to each command.
(tab-line-track-tap, tab-line-event-start): New functions.
(tab-line-hscroll-right, tab-line-hscroll-left, tab-line-new-tab)
(tab-line-select-tab, tab-line-close-tab): Use them.
doc/emacs/frames.texi
doc/emacs/input.texi
doc/emacs/windows.texi
lisp/tab-line.el