diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-03-17 20:16:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-17 20:16:39 +0100 |
commit | 3c7e937a892308498ba23ce5c0959e51fbf28911 (patch) | |
tree | 79ae25f12d9f8c50690250c07f2c04cf3687166a /src/nvim/eval | |
parent | d238b8f6003d34cae7f65ff7585b48a2cd9449fb (diff) | |
parent | 5ab122917474b3f9e88be4ee88bc6d627980cfe0 (diff) | |
download | rneovim-3c7e937a892308498ba23ce5c0959e51fbf28911.tar.gz rneovim-3c7e937a892308498ba23ce5c0959e51fbf28911.tar.bz2 rneovim-3c7e937a892308498ba23ce5c0959e51fbf28911.zip |
Merge pull request #17266 from famiu/feat/ui/global-statusline
feat(statusline): add global statusline
Diffstat (limited to 'src/nvim/eval')
-rw-r--r-- | src/nvim/eval/funcs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval/funcs.c b/src/nvim/eval/funcs.c index 5b0d6713e2..9579a996bc 100644 --- a/src/nvim/eval/funcs.c +++ b/src/nvim/eval/funcs.c @@ -3745,7 +3745,7 @@ static void f_getmousepos(typval_T *argvars, typval_T *rettv, FunPtr fptr) wp = mouse_find_win(&grid, &row, &col); if (wp != NULL) { - int height = wp->w_height + wp->w_status_height; + int height = wp->w_height + wp->w_hsep_height + wp->w_status_height; // The height is adjusted by 1 when there is a bottom border. This is not // necessary for a top border since `row` starts at -1 in that case. if (row < height + wp->w_border_adj[2]) { |