# HG changeset patch # User Bram Moolenaar # Date 1587760204 -7200 # Node ID 5dc9b96e3c5a65dc9a4a480d85e3e4845c1cc819 # Parent 1c4748173fad3061c22b04e8a8188942a76f2b53 patch 8.2.0632: crash when using Haiku Commit: https://github.com/vim/vim/commit/92c461ef1b3b58c7dd4835bc881769f0f84e8ad0 Author: Bram Moolenaar Date: Fri Apr 24 22:19:00 2020 +0200 patch 8.2.0632: crash when using Haiku Problem: Crash when using Haiku. Solution: Lock the screen. (closes https://github.com/vim/vim/issues/5975, closes https://github.com/vim/vim/issues/5973) diff --git a/src/screen.c b/src/screen.c --- a/src/screen.c +++ b/src/screen.c @@ -3881,6 +3881,10 @@ screen_del_lines( 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. diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -747,6 +747,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 632, +/**/ 631, /**/ 630,