mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 8.0.1375: window size wrong after maximizing with WinBar
Problem: Window size wrong after maximizing with WinBar. (Lifepillar) Solution: Fix height computations. Redraw window when it is zero height but has a WinBar. (closes #2356)
This commit is contained in:
@@ -1154,7 +1154,7 @@ win_update(win_T *wp)
|
||||
}
|
||||
|
||||
/* Window is zero-height: nothing to draw. */
|
||||
if (wp->w_height == 0)
|
||||
if (wp->w_height + WINBAR_HEIGHT(wp) == 0)
|
||||
{
|
||||
wp->w_redr_type = 0;
|
||||
return;
|
||||
|
Reference in New Issue
Block a user