Mercurial > vim
diff src/globals.h @ 24527:a878e5e892cf v8.2.2803
patch 8.2.2803: flicker when the popup menu has an info popup
Commit: https://github.com/vim/vim/commit/e0c03c8e107f109eadab145e18544d8e74a6976e
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Apr 23 21:01:34 2021 +0200
patch 8.2.2803: flicker when the popup menu has an info popup
Problem: Flicker when the popup menu has an info popup.
Solution: Avoid drawing over the popup when it's going to be redrawn in the
same position. (closes #8131) Also avoid redrawing the scrollbar.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 23 Apr 2021 21:15:04 +0200 |
parents | f293bb501b30 |
children | 30ad18017e1c |
line wrap: on
line diff
--- a/src/globals.h +++ b/src/globals.h @@ -741,6 +741,10 @@ EXTERN int popup_visible INIT(= FALSE); EXTERN int text_prop_frozen INIT(= 0); #endif +// When set the popup menu will redraw soon using the pum_win_ values. Do not +// draw over the poup menu area to avoid flicker. +EXTERN int pum_will_redraw INIT(= FALSE); + /* * The window layout is kept in a tree of frames. topframe points to the top * of the tree.