]> git.eshelyaron.com Git - emacs.git/commit
Add tab-bar-drag-maybe for indication of tab dragging (bug#50993)
authorMartin Rudalics <rudalics@gmx.at>
Sun, 17 Oct 2021 17:48:45 +0000 (20:48 +0300)
committerJuri Linkov <juri@linkov.net>
Sun, 17 Oct 2021 17:48:45 +0000 (20:48 +0300)
commit04716ca48fbaf4750a56e3c8d6f0ad125f889105
tree80cec6c74f3468c24221df5d170d9bf662d9e963
parent81e3697600e5c792cf2ee99bd0d2818807e62108
Add tab-bar-drag-maybe for indication of tab dragging (bug#50993)

* lisp/tab-bar.el (tab-bar--event-to-item)
(tab-bar-mouse-move-tab): Set tab-bar-drag-maybe to nil.
(tab-bar-mouse-down-1): Set tab-bar-drag-maybe to t.

* src/xdisp.c (note_mouse_highlight): Set cursor to 'hand_cursor'
when tab_bar_drag_maybe is true.
(syms_of_xdisp): New variable tab-bar-drag-maybe.
lisp/tab-bar.el
src/xdisp.c