aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/screen.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2019-04-17 22:22:26 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2019-06-25 18:08:21 +0200
commit4c4d964eeb8d49a305306761eea406e1829b31ac (patch)
treeef3e0e9de2d022a1a96d59409813ef25f0341acc /src/nvim/screen.c
parent027ebb23da0868655413e1850eb0b7d77e223850 (diff)
downloadrneovim-4c4d964eeb8d49a305306761eea406e1829b31ac.tar.gz
rneovim-4c4d964eeb8d49a305306761eea406e1829b31ac.tar.bz2
rneovim-4c4d964eeb8d49a305306761eea406e1829b31ac.zip
ui: add 'winblend' to support blending of floating windows
Also add `hi blend=` attribute to override transparency of indiviual attributes.
Diffstat (limited to 'src/nvim/screen.c')
-rw-r--r--src/nvim/screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c
index f349304468..d91b832e5a 100644
--- a/src/nvim/screen.c
+++ b/src/nvim/screen.c
@@ -482,13 +482,13 @@ void update_screen(int type)
}
end_search_hl();
+
// May need to redraw the popup menu.
- if (pum_drawn() && redraw_popupmenu) {
+ if (pum_drawn() && must_redraw_pum) {
pum_redraw();
}
send_grid_resize = false;
- redraw_popupmenu = false;
/* Reset b_mod_set flags. Going through all windows is probably faster
* than going through all buffers (there could be many buffers). */