mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 07:18:17 +00:00
ui: multigrid mouse support
This commit is contained in:
@@ -7943,11 +7943,10 @@ static void ins_mousescroll(int dir)
|
||||
pos_T tpos = curwin->w_cursor;
|
||||
|
||||
if (mouse_row >= 0 && mouse_col >= 0) {
|
||||
int row = mouse_row;
|
||||
int col = mouse_col;
|
||||
int row = mouse_row, col = mouse_col, grid = mouse_grid;
|
||||
|
||||
// find the window at the pointer coordinates
|
||||
win_T *const wp = mouse_find_win(&row, &col);
|
||||
win_T *wp = mouse_find_win(&grid, &row, &col);
|
||||
if (wp == NULL) {
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user