aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/window.c')
-rw-r--r--src/nvim/window.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/window.c b/src/nvim/window.c
index 9d804ecae7..a615bd6797 100644
--- a/src/nvim/window.c
+++ b/src/nvim/window.c
@@ -5171,7 +5171,6 @@ static void win_free(win_T *wp, tabpage_T *tp)
alist_unlink(wp->w_alist);
// Don't execute autocommands while the window is halfway being deleted.
- // gui_mch_destroy_scrollbar() may trigger a FocusGained event.
block_autocmds();
clear_winopt(&wp->w_onebuf_opt);