mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
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:
committed by
Bram Moolenaar
parent
e015d99abb
commit
6555500bcf
@@ -382,9 +382,9 @@ pum_call_update_screen()
|
||||
* "row"/"col" is under the popup menu.
|
||||
*/
|
||||
int
|
||||
pum_under_menu(int row, int col)
|
||||
pum_under_menu(int row, int col, int only_redrawing)
|
||||
{
|
||||
return pum_will_redraw
|
||||
return (!only_redrawing || pum_will_redraw)
|
||||
&& row >= pum_row
|
||||
&& row < pum_row + pum_height
|
||||
&& col >= pum_col - 1
|
||||
|
Reference in New Issue
Block a user