diff options
author | Po Lu <luangruo@yahoo.com> | 2023-05-16 15:54:50 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2023-05-16 15:54:50 +0800 |
commit | bb8bf9203ed33de0bb269c8ff69067aa7b3a692a (patch) | |
tree | 9aeb35760a2997f734b3f706048e381300b514c1 /lisp/emacs-lisp/lisp.el | |
parent | 44da7d75ed3fa6322d64d66d250bc78e91636ff5 (diff) | |
download | emacs-bb8bf9203ed33de0bb269c8ff69067aa7b3a692a.tar.gz |
Add touchscreen support to the tab bar
* lisp/menu-bar.el (popup-menu-normalize-position): Normalize
`touchscreen-begin' events correctly.
* lisp/tab-bar.el (tab-bar-mouse-context-menu): New argument
POSN. Use it if specified.
(touch-screen-track-tap, tab-bar-handle-timeout)
(tab-bar-touchscreen-begin): New functions.
(tab-bar-map): Bind [tab-bar touchscreen-begin].
* lisp/touch-screen.el (touch-screen-track-drag): Fix doc
string.
* src/dispextern.h: Export `get_tab_bar_item_kbd'.
* src/keyboard.c (coords_in_tab_bar_window): New function.
(make_lispy_event): Adjust touchscreen begin event mouse
position list for tab bar.
* src/xdisp.c (tab_bar_item_info): Allow CLOSE_P to be NULL.
(get_tab_bar_item): Adjust doc string.
(get_tab_bar_item_kbd): New function.
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
0 files changed, 0 insertions, 0 deletions