mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 14:38:32 +00:00
fix(events): check for WinResized/WinScrolled in terminal mode (#27226)
This commit is contained in:
@@ -5367,7 +5367,7 @@ static int check_window_scroll_resize(int *size_count, win_T **first_scroll_win,
|
||||
|
||||
FOR_ALL_WINDOWS_IN_TAB(wp, curtab) {
|
||||
// Skip floating windows that do not have a snapshot (usually because they are newly-created),
|
||||
// as unlike split windows, creating floating windows do not cause other windows to resize.
|
||||
// as unlike split windows, creating floating windows doesn't cause other windows to resize.
|
||||
if (wp->w_floating && wp->w_last_topline == 0) {
|
||||
wp->w_last_topline = wp->w_topline;
|
||||
wp->w_last_topfill = wp->w_topfill;
|
||||
|
Reference in New Issue
Block a user