]> git.eshelyaron.com Git - emacs.git/commit
Bind [drag-mouse-1] to tab-bar-mouse-move-tab on tab-bar-map
authorJuri Linkov <juri@linkov.net>
Wed, 18 Aug 2021 17:44:14 +0000 (20:44 +0300)
committerJuri Linkov <juri@linkov.net>
Wed, 18 Aug 2021 17:44:14 +0000 (20:44 +0300)
commit56d567acb6eae72352e39acf4f206f7cb3195900
tree4320180719c64f6e04548ea1d3e3f8c485cf1d3b
parente6bea0cbc76bc47f435be9c7f6f3c4b770994924
Bind [drag-mouse-1] to tab-bar-mouse-move-tab on tab-bar-map

* lisp/tab-bar.el (tab-bar-mouse-move-tab): New command.
(tab-bar-map): Bind [drag-mouse-1] to tab-bar-mouse-move-tab.
(tab-bar-select-tab): Zero or nil arg means the current tab.

* src/xdisp.c (handle_tab_bar_click): Remove restriction
to allow dragging the tab to another tab.
etc/NEWS
lisp/tab-bar.el
src/xdisp.c