Problem: tabpanel: cannot handle mouse clicks in command line
(char101, after v9.1.1898)
Solution: Update the condition that checks if the mouse pointer is on
the command line (Hirohito Higashi)
closes: #18771
Co-authored-by: Charles <char101@ui.ac.id>
Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
*/
if ((State == MODE_NORMAL || State == MODE_NORMAL_BUSY
|| (State & MODE_INSERT))
+ && X_2_COL(x) >= firstwin->w_wincol
+ && X_2_COL(x) < firstwin->w_wincol + topframe->fr_width
&& Y_2_ROW(y) >= topframe->fr_height + firstwin->w_winrow
&& button != MOUSE_DRAG
# ifdef FEAT_MOUSESHAPE
return NULL;
wp = mouse_find_win(&row, &col, popup);
if (wp == NULL)
+ {
+#ifdef FEAT_MOUSESHAPE
+ update_mouseshape(-2);
+#endif
return NULL;
+ }
#ifdef FEAT_MOUSESHAPE
if (State == MODE_HITRETURN || State == MODE_ASKMORE)
{
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1919,
/**/
1918,
/**/