0
0
mirror of https://github.com/vim/vim.git synced 2025-11-16 23:24:03 -05:00

patch 9.1.1465: tabpanel: not correctly drawn with 'equalalways'

Problem:  tabpanel: not correctly drawn with 'equalalways'
Solution: call win_equal() (Hirohito Higashi)

closes: #17554

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Hirohito Higashi
2025-06-16 20:26:08 +02:00
committed by Christian Brabandt
parent b7ebe610cc
commit acd04b2fd7
6 changed files with 44 additions and 9 deletions

View File

@@ -6204,6 +6204,8 @@ shell_new_columns(void)
if (firstwin == NULL) // not initialized yet
return;
int save_wincol = firstwin->w_wincol;
int save_fr_width = topframe->fr_width;
int w = COLUMNS_WITHOUT_TPL();
// First try setting the widths of windows with 'winfixwidth'. If that
@@ -6214,6 +6216,9 @@ shell_new_columns(void)
win_comp_pos(); // recompute w_winrow and w_wincol
if (p_ea && (firstwin->w_wincol != save_wincol
|| topframe->fr_width != save_fr_width))
win_equal(curwin, FALSE, 0);
if (!skip_win_fix_scroll)
win_fix_scroll(TRUE);