Reduce pum redraws from edit.c by delaying undisplay of pum

This makes it possible for the compositor to compare the old pum with
the new position, and only clear what is necessary.
This commit is contained in:
Björn Linse
2019-01-20 12:14:35 +01:00
parent 31cbd34d97
commit 2c01e79dc4
3 changed files with 30 additions and 39 deletions

View File

@@ -7203,7 +7203,6 @@ void screen_resize(int width, int height)
} else {
update_topline();
if (pum_drawn()) {
redraw_later(NOT_VALID);
ins_compl_show_pum();
}
update_screen(NOT_VALID);