summaryrefslogtreecommitdiffstats
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-04-23 21:01:34 +0200
committerBram Moolenaar <Bram@vim.org>2021-04-23 21:01:34 +0200
commite0c03c8e107f109eadab145e18544d8e74a6976e (patch)
tree447b5b7477f4df9c2f4a7b69c9d579b52ff4183c /src/globals.h
parenta6aa16423fdd0518ec9f3074b0d32b1d651d41e8 (diff)
patch 8.2.2803: flicker when the popup menu has an info popupv8.2.2803
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.
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h
index 017c059a48..5e6b6461d9 100644
--- 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.