aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/input.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-05-18 21:18:34 +0200
committerGitHub <noreply@github.com>2022-05-18 21:18:34 +0200
commit6f0baa0bb7a57ec4451047876321eb6f24130b10 (patch)
tree4257741199bb61a7fc76b6f794445b6f74b85a16 /src/nvim/os/input.c
parent3eea66d65a75c83cbd6bd7ec2aa0886781c807c9 (diff)
parent503d8b0892dbfee2d69286574f7eba3708b9a902 (diff)
downloadrneovim-6f0baa0bb7a57ec4451047876321eb6f24130b10.tar.gz
rneovim-6f0baa0bb7a57ec4451047876321eb6f24130b10.tar.bz2
rneovim-6f0baa0bb7a57ec4451047876321eb6f24130b10.zip
Merge pull request #18620 from bfredl/multibar
fix(ui): make winbar work with floats and multigrid
Diffstat (limited to 'src/nvim/os/input.c')
-rw-r--r--src/nvim/os/input.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/nvim/os/input.c b/src/nvim/os/input.c
index c99d2869da..ac21b32a3e 100644
--- a/src/nvim/os/input.c
+++ b/src/nvim/os/input.c
@@ -19,6 +19,7 @@
#include "nvim/memory.h"
#include "nvim/msgpack_rpc/channel.h"
#include "nvim/os/input.h"
+#include "nvim/screen.h"
#include "nvim/state.h"
#include "nvim/ui.h"
#include "nvim/vim.h"
@@ -178,15 +179,7 @@ void os_breakcheck(void)
return;
}
- int save_us = updating_screen;
- // We do not want screen_resize() to redraw here.
- // TODO(bfredl): we are already special casing redraw events, is this
- // hack still needed?
- updating_screen++;
-
loop_poll_events(&main_loop, 0);
-
- updating_screen = save_us;
}
#define BREAKCHECK_SKIP 1000