From 2a5307202b02d47e26c4430a47db7a4cad422862 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Fri, 20 Nov 2020 20:17:10 -0500 Subject: menu: remove winbar code No unmerged Vim patch, applicable to Neovim, depend on WinBar feature. It was merged only for merging Vim patches. It is currently useless in Neovim. Remove it to avoid rendering issues. Close https://github.com/neovim/neovim/issues/12689 --- src/nvim/normal.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/nvim/normal.c') diff --git a/src/nvim/normal.c b/src/nvim/normal.c index 4b26ae259e..aeada66964 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -2601,11 +2601,6 @@ do_mouse ( oap == NULL ? NULL : &(oap->inclusive), which_button); - // A click in the window toolbar has no side effects. - if (jump_flags & MOUSE_WINBAR) { - return false; - } - moved = (jump_flags & CURSOR_MOVED); in_status_line = (jump_flags & IN_STATUS_LINE); in_sep_line = (jump_flags & IN_SEP_LINE); -- cgit