mirror of
https://github.com/neovim/neovim.git
synced 2025-09-24 03:58:32 +00:00
[RDY] Fix click on foldcolumn if it has tabline (#13982)
* Fix click on foldcolumn if it has tabline * Fixes to correctly determine if tablie was clicked when multigrid is enabled * Separate foldcolumn checks into functions * Add test case for click on foldcolumn with split window * Fix foldcolumn click used nvim_input() on multigrid enabled
This commit is contained in:
@@ -2404,8 +2404,8 @@ do_mouse (
|
||||
|
||||
start_visual.lnum = 0;
|
||||
|
||||
/* Check for clicking in the tab page line. */
|
||||
if (mouse_row == 0 && firstwin->w_winrow > 0) {
|
||||
// Check for clicking in the tab page line.
|
||||
if (mouse_grid <= 1 && mouse_row == 0 && firstwin->w_winrow > 0) {
|
||||
if (is_drag) {
|
||||
if (in_tab_line) {
|
||||
move_tab_to_mouse();
|
||||
|
Reference in New Issue
Block a user