diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-05-03 10:29:19 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-03 10:29:19 +0800 |
commit | dc394b9641f92a5014147da58f5e14fd1681ec0f (patch) | |
tree | 76812ab57c590341d9ce8a960d87e4af1f86ca83 /src/nvim | |
parent | a4bb8c37dbe9233662e0adaf7ad34fb4f094d114 (diff) | |
download | rneovim-dc394b9641f92a5014147da58f5e14fd1681ec0f.tar.gz rneovim-dc394b9641f92a5014147da58f5e14fd1681ec0f.tar.bz2 rneovim-dc394b9641f92a5014147da58f5e14fd1681ec0f.zip |
fix(mouse): fix popup menu position check with winbar (#23456)
Diffstat (limited to 'src/nvim')
-rw-r--r-- | src/nvim/mouse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/mouse.c b/src/nvim/mouse.c index 79bd65a88f..8189fde83c 100644 --- a/src/nvim/mouse.c +++ b/src/nvim/mouse.c @@ -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; } |