mirror of
https://github.com/neovim/neovim.git
synced 2025-10-18 07:41:51 +00:00
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.
This commit is contained in:
@@ -179,15 +179,7 @@ void os_breakcheck(void)
|
|||||||
return;
|
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);
|
loop_poll_events(&main_loop, 0);
|
||||||
|
|
||||||
updating_screen = save_us;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#define BREAKCHECK_SKIP 1000
|
#define BREAKCHECK_SKIP 1000
|
||||||
|
Reference in New Issue
Block a user