patch 9.1.1425: tabpanel: there are still some problems with the tabpanel
Problem: tabpanel: there are still some problems with the tabpanel with
column handling
Solution: fix the problems and refactor Tabpanel feature (Hirohito
Higashi).
fixes: #17423
fixes: #17332
closes: #17336
Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
6c40df09e0
commit
3b9b95dc63
@ -4907,8 +4907,6 @@ 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);
|
||||
@ -5379,8 +5377,6 @@ 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