diff --git a/src/terminal.c b/src/terminal.c index 61630d5cce..5a2ebf8655 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -1308,12 +1308,13 @@ send_keys_to_term(term_T *term, int c, int typed) case K_MOUSELEFT: case K_MOUSERIGHT: if (mouse_row < W_WINROW(curwin) - || mouse_row > (W_WINROW(curwin) + curwin->w_height) + || mouse_row >= (W_WINROW(curwin) + curwin->w_height) || mouse_col < curwin->w_wincol - || mouse_col > W_ENDCOL(curwin) + || mouse_col >= W_ENDCOL(curwin) || dragging_outside) { - /* click or scroll outside the current window */ + /* click or scroll outside the current window or on status line + * or vertical separator */ if (typed) { stuffcharReadbuff(c); diff --git a/src/version.c b/src/version.c index c2445cef14..76f4a5cfbf 100644 --- a/src/version.c +++ b/src/version.c @@ -771,6 +771,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1368, /**/ 1367, /**/