]> git.eshelyaron.com Git - emacs.git/commit
Implement tab line dragging with mouse (Bug#76084)
authorMartin Rudalics <rudalics@gmx.at>
Mon, 10 Feb 2025 09:58:05 +0000 (10:58 +0100)
committerEshel Yaron <me@eshelyaron.com>
Mon, 10 Feb 2025 20:57:20 +0000 (21:57 +0100)
commit0462db66fb0bc7be3aec0541aa0876c6c884a4cd
tree6bf578c786b9bde7e10429784d733f2b2a97074e
parent5d88e5572258d8023a75ee03d694ce5a27d13728
Implement tab line dragging with mouse (Bug#76084)

* lisp/mouse.el (mouse-drag-line): Allow tab line dragging if
there's a window above.  Consider tab line height when
calculating 'position'.  Add 'tab-line' binding to transient
map.
(mouse-drag-tab-line): Have it drag the tab line only (and not
the entire frame) when the tab line is between two windows.

(cherry picked from commit efa9b97b454d2bf56d50fb4ef37e8378bb2e4b2a)
lisp/mouse.el