summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-04-24 22:19:00 +0200
committerBram Moolenaar <Bram@vim.org>2020-04-24 22:19:00 +0200
commit92c461ef1b3b58c7dd4835bc881769f0f84e8ad0 (patch)
tree68c52c611992eb89a344f5e3e3ba9e8d3660e42d
parentb52575f9cfcb5c9715ed08ccd552a55e0052370e (diff)
patch 8.2.0632: crash when using Haikuv8.2.0632
Problem: Crash when using Haiku. Solution: Lock the screen. (closes #5975, closes #5973)
-rw-r--r--src/screen.c4
-rw-r--r--src/version.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/screen.c b/src/screen.c
index d73e7c6941..845c5b2103 100644
--- 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
index 3764629097..3483a42bde 100644
--- 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,