0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.1.1517: when a popup changes all windows are redrawn

Problem:    When a popup changes all windows are redrawn.
Solution:   Only update the lines that were affected.  Add a file for
            profiling popup windows efficiency.
This commit is contained in:
Bram Moolenaar
2019-06-10 21:24:12 +02:00
parent 640d4f0c97
commit 4c063a0dab
8 changed files with 180 additions and 38 deletions

View File

@@ -571,8 +571,7 @@ popup_adjust_position(win_T *wp)
|| org_width != wp->w_width
|| org_height != wp->w_height)
{
// TODO: redraw only windows that were below the popup.
redraw_all_later(NOT_VALID);
redraw_all_later(VALID);
popup_mask_refresh = TRUE;
}
}