mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 07:58:35 +00:00
fix: close floating windows when calling win_close()
This commit is contained in:
@@ -395,7 +395,7 @@ void nvim_win_hide(Window window, Error *err)
|
||||
TryState tstate;
|
||||
try_enter(&tstate);
|
||||
if (tabpage == curtab) {
|
||||
win_close(win, false);
|
||||
win_close(win, false, false);
|
||||
} else {
|
||||
win_close_othertab(win, false, tabpage);
|
||||
}
|
||||
|
Reference in New Issue
Block a user