commit | 92c461ef1b3b58c7dd4835bc881769f0f84e8ad0 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Apr 24 22:19:00 2020 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Apr 24 22:19:00 2020 +0200 |
tree | 68c52c611992eb89a344f5e3e3ba9e8d3660e42d | |
parent | b52575f9cfcb5c9715ed08ccd552a55e0052370e [diff] [blame] |
patch 8.2.0632: crash when using Haiku Problem: Crash when using Haiku. Solution: Lock the screen. (closes #5975, closes #5973)
diff --git a/src/screen.c b/src/screen.c index d73e7c6..845c5b2 100644 --- a/src/screen.c +++ b/src/screen.c
@@ -3881,6 +3881,10 @@ clip_scroll_selection(line_count); #endif +#ifdef FEAT_GUI_HAIKU + vim_lock_screen(); +#endif + #ifdef FEAT_GUI // Don't update the GUI cursor here, ScreenLines[] is invalid until the // scrolling is actually carried out.