diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-05-18 18:28:54 +0200 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2022-05-18 20:16:19 +0200 |
commit | 503d8b0892dbfee2d69286574f7eba3708b9a902 (patch) | |
tree | 3ad92570ce02bd070dc326e0183f4fdd3236264e | |
parent | 17758fe7ad0d5db54dc43e364d53f637a148e73f (diff) | |
download | rneovim-503d8b0892dbfee2d69286574f7eba3708b9a902.tar.gz rneovim-503d8b0892dbfee2d69286574f7eba3708b9a902.tar.bz2 rneovim-503d8b0892dbfee2d69286574f7eba3708b9a902.zip |
refactor(events): remove unnecessary fudging of updating_screen
This was not necessary after the introduction of `resize_events`,
after which ui resizes are not `fast_events` anymore.
-rw-r--r-- | src/nvim/os/input.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/nvim/os/input.c b/src/nvim/os/input.c index 7a50725461..ac21b32a3e 100644 --- a/src/nvim/os/input.c +++ b/src/nvim/os/input.c @@ -179,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 = true; - loop_poll_events(&main_loop, 0); - - updating_screen = save_us; } #define BREAKCHECK_SKIP 1000 |