mirror of
https://github.com/neovim/neovim.git
synced 2025-10-15 22:36:09 +00:00
@@ -5127,7 +5127,14 @@ win_T *win_alloc(win_T *after, bool hidden)
|
||||
block_autocmds();
|
||||
// link the window in the window list
|
||||
if (!hidden) {
|
||||
win_append(after, new_wp, NULL);
|
||||
tabpage_T *tp = NULL;
|
||||
if (after) {
|
||||
tp = win_find_tabpage(after);
|
||||
if (tp == curtab) {
|
||||
tp = NULL;
|
||||
}
|
||||
}
|
||||
win_append(after, new_wp, tp);
|
||||
}
|
||||
|
||||
new_wp->w_wincol = 0;
|
||||
|
Reference in New Issue
Block a user