mirror of
https://github.com/zoriya/vim.git
synced 2025-12-21 06:35:17 +00: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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user