1
0
forked from aniani/vim

patch 8.2.2471: popup_setoptions() does not set textprop in other tab

Problem:    Popup_setoptions() does not set textprop in other tab.
Solution:   use win_valid_any_tab(). (closes #7788)
This commit is contained in:
Bram Moolenaar
2021-02-06 14:59:27 +01:00
parent 6502643677
commit efa1923565
3 changed files with 22 additions and 1 deletions

View File

@@ -461,7 +461,7 @@ apply_move_options(win_T *wp, dict_T *d)
if (di != NULL)
{
wp->w_popup_prop_win = find_win_by_nr_or_id(&di->di_tv);
if (!win_valid(wp->w_popup_prop_win))
if (!win_valid_any_tab(wp->w_popup_prop_win))
wp->w_popup_prop_win = curwin;
}