mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 10:56:31 +00:00
fix(mouse): fix popup menu position check with winbar (#23456)
This commit is contained in:
@@ -223,7 +223,7 @@ static int get_fpos_of_mouse(pos_T *mpos)
|
||||
}
|
||||
|
||||
// winpos and height may change in win_enter()!
|
||||
if (winrow + wp->w_winbar_height >= wp->w_height_inner) { // In (or below) status line
|
||||
if (winrow >= wp->w_height_inner) { // In (or below) status line
|
||||
return IN_STATUS_LINE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user