patch 9.1.1391: Vim does not have a vertical tabpanel
Problem: Vim does not have a tabpanel
Solution: include the tabpanel feature
(Naruhiko Nishino, thinca)
closes: #17263
Co-authored-by: thinca <thinca@gmail.com>
Signed-off-by: Naruhiko Nishino <naru123456789@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
7200eae212
commit
be5bd4d629
@ -4906,6 +4906,9 @@ xy2win(int x, int y, mouse_find_T popup)
|
||||
|
||||
row = Y_2_ROW(y);
|
||||
col = X_2_COL(x);
|
||||
|
||||
col -= TPL_LCOL(NULL);
|
||||
|
||||
if (row < 0 || col < 0) // before first window
|
||||
return NULL;
|
||||
wp = mouse_find_win(&row, &col, popup);
|
||||
@ -5376,6 +5379,8 @@ gui_wingoto_xy(int x, int y)
|
||||
int col = X_2_COL(x);
|
||||
win_T *wp;
|
||||
|
||||
col -= TPL_LCOL(NULL);
|
||||
|
||||
if (row < 0 || col < 0)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user