src/popupwin.c
void
popup_handle_mouse_moved(void)
{
    win_T   *wp, *nextwp;
    win_T   *mouse_wp;
    int	    row = mouse_row;
    int	    col = mouse_col;

    // find the window where the mouse is in
    mouse_wp = mouse_find_win(&row, &col, FIND_POPUP);

    for (wp = first_popupwin; wp != NULL; wp = nextwp)
    {
	nextwp = wp->w_next;
	check_mouse_moved(wp, mouse_wp);
    }
    for (wp = curtab->tp_first_popupwin; wp != NULL; wp = nextwp)
    {
	nextwp = wp->w_next;
	check_mouse_moved(wp, mouse_wp);
    }
}
/*
 * Called when the mouse moved: may close a popup with "mousemoved".
 */
Called when the mouse moved: may close a popup with "mousemoved".
Called when the mouse moved : may close a popup with " mousemoved " .
void
popup_handle_mouse_moved(void)
{
    win_T   *wp, *nextwp;
    win_T   *mouse_wp;
    int	    row = mouse_row;
    int	    col = mouse_col;
    mouse_wp = mouse_find_win(&row, &col, FIND_POPUP);
    for (wp = first_popupwin; wp != NULL; wp = nextwp)
    {
	nextwp = wp->w_next;
	check_mouse_moved(wp, mouse_wp);
    }
    for (wp = curtab->tp_first_popupwin; wp != NULL; wp = nextwp)
    {
	nextwp = wp->w_next;
	check_mouse_moved(wp, mouse_wp);
    }
}
void popup_handle_mouse_moved ( void ) { win_T * wp , * nextwp ; win_T * mouse_wp ; int row = mouse_row ; int col = mouse_col ; mouse_wp = mouse_find_win ( & row , & col , FIND_POPUP ) ; for ( wp = first_popupwin ; wp != NULL ; wp = nextwp ) { nextwp = wp -> w_next ; check_mouse_moved ( wp , mouse_wp ) ; } for ( wp = curtab -> tp_first_popupwin ; wp != NULL ; wp = nextwp ) { nextwp = wp -> w_next ; check_mouse_moved ( wp , mouse_wp ) ; } }
Called when the mouse moved: may close a popup with "mousemoved".
Called when the mouse moved : may close a popup with " mousemoved " .
// find the window where the mouse is in