1
0
forked from aniani/vim

patch 8.2.3614: zindex of popup windows not used when redrawing popup menu

Problem:    zindex of popup windows not used when redrawing popup menu.
Solution:   Check the zindex when redrawing the popup menu.  (closes #9129,
            closes #9089)
This commit is contained in:
Bakudankun
2021-11-17 20:40:16 +00:00
committed by Bram Moolenaar
parent e015d99abb
commit 6555500bcf
8 changed files with 88 additions and 5 deletions

View File

@@ -2139,7 +2139,7 @@ screen_char(unsigned off, int row, int col)
// Skip if under the popup menu.
// Popup windows with zindex higher than POPUPMENU_ZINDEX go on top.
if (pum_under_menu(row, col)
if (pum_under_menu(row, col, TRUE)
#ifdef FEAT_PROP_POPUP
&& screen_zindex <= POPUPMENU_ZINDEX
#endif